Live data from Hacker News

Visual Studio Code 1.5

code.visualstudio.com

111–120 of 270 posts

Re: Visual Studio Code 1.5

#111

I love the updates the VSC team has been putting out, and I know this is related to Electron issues, but I really wish they would add High DPI support. Without it, this weird situation exists where Microsoft's Visual Studio Code looks really blurry on Microsoft's Surface Pro, because Microsoft Software isn't using Microsoft's API.

Try start it with `--disable-gpu`, works for me on 4k screen / 1080p screens both

Re: Visual Studio Code 1.5

#112

Opening a newly cloned Chromium repository in ~3s is very impressive to be honest.

Still not impressed. I just tried it with Chrome and it's way slower than Sublime Text to be useful for me even when excluding large parts of the checkout. Also enabling the C++ extension made my computer hang, I couldn't spawn new shells or even login in a tty.

I really want to be able to use it for my work but I can't unless it's about as fast as Sublime Text.

Re: Visual Studio Code 1.5

#113
post #102
post #32

VSCode + TypeScript is an amazing experience for us poor JavaScript developers that never enjoyed proper autocomplete and refactoring in our editors. Writing JavaScript feels like writing random bash scripts with no help now. TypeScript is freaking awesome and you should start using it! :)

Typescript is great and is "natively" included in Angular2, however it's not the case for react and vue.js ecosystems. Tried to use/learn typescript, in the meantime I wonder if there is a document showing how to use certain "safe" javascript along with its strict mode to make javascript secure enough so that I don't need use Typescript? i.e. how about using a subset of native javascript with certain rules that can a…

React may not have "native" support for TypeScript, but in combination with TypeScript using React is so much more fun, if only for the fact that your props can actually be typed and checked at compile time.

Re: Visual Studio Code 1.5

#114

Earlier quoted context omitted.

Try WebStorm. I'm surprised at how few people use it, given the quality of the autocomplete and code assistance (and the fact that it works just as well with ES6 as it does with TypeScript!)

Does WebStorm still maintain their own version of TypeScript language tools? Back in the 1.0 days they did, and it was a mess. Stuff that would work in Visual Studio and with tsc at the command line wouldn't work in WebStorm. That said, love Jetbrains. Have a Ultimate license for Java.

The default option is to use the bundled typescript compiler, but you can now also point it to a folder that contains a typescript compiler and it will call out to that. It works very well for me so far.

Re: Visual Studio Code 1.5

#117
post #103

This package suffers from what I like to call the paper.pdf problem - very different files, rather uselessly (although not entirely illogically) given identical file names: ~/Downloads % md5 VSCode* MD5 (VSCode-darwin-stable(1).zip) = b33b479ffa87052d05ed0141e64ad8a8 MD5 (VSCode-darwin-stable.zip) = 86f129fe0d75c195370da4b46814389c ~/Downloads % ls -l VSCode*.zip -rw-r--r--@ 1 tom staff 49908098 8 Sep 23:04 VSCode-da…

what do you mean, can you explain? isn't that correct behavior if you rename the file?

They mean the file name is the same and you end up with several files in the download folder without knowing what's the one you need.

Re: Visual Studio Code 1.5

#118
post #113
post #102

Earlier quoted context omitted.

Typescript is great and is "natively" included in Angular2, however it's not the case for react and vue.js ecosystems. Tried to use/learn typescript, in the meantime I wonder if there is a document showing how to use certain "safe" javascript along with its strict mode to make javascript secure enough so that I don't need use Typescript? i.e. how about using a subset of native javascript with certain rules that can a…

React may not have "native" support for TypeScript, but in combination with TypeScript using React is so much more fun, if only for the fact that your props can actually be typed and checked at compile time.

The standard recommendation seems to be to use PropTypes. And also in general, to use Babel with React programs. Would be interested to hear experiences of using Typescript with React.

Re: Visual Studio Code 1.5

#119
post #98

It's unfortunate to see that the group who named their extension "Vim" is being recognized as more or less the official recommendation for Vim emulation, despite being not so good. The last time that I did a survey of feature completeness, performance, and code quality, the author of the amVim extension had a much better showing across the board--and more active involvement in VSCode extension APIs themselves. Percep…

Why would you use VS Code (even with vim keybindings) over vim? Is there something you can't do in vim but can in VS Code?

To be honest, to setup vim to provide the features VS Code provides out of the box takes a long time and dedication.

Re: Visual Studio Code 1.5

#120
post #32

VSCode + TypeScript is an amazing experience for us poor JavaScript developers that never enjoyed proper autocomplete and refactoring in our editors. Writing JavaScript feels like writing random bash scripts with no help now. TypeScript is freaking awesome and you should start using it! :)

Try WebStorm. I'm surprised at how few people use it, given the quality of the autocomplete and code assistance (and the fact that it works just as well with ES6 as it does with TypeScript!)

Paying for good tools supports developers who make good tools.

I've tried VS Code, but prefer WebStorm.

Post reply on HN