Live data from Hacker News

Visual Studio Code 1.5

code.visualstudio.com

101–110 of 270 posts

Re: Visual Studio Code 1.5

#101
post #50

Anyone use VS Code for Ruby/Rails? Equal or better than Atom/Sublime? I switched from sublime to atom recently but atom is slow (I know I know) and VS Code seems well regarded so willing to give it a try.

Atom/Sublime? Those aren't even in the same category.

Re: Visual Studio Code 1.5

#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 achieve what typescript provides, is this enough? is 'strict-mode' the answer?

If there is a book/blog stating "using javascript the way as your typescript" I will buy it right away. :)

Re: Visual Studio Code 1.5

#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-darwin-stable(1).zip
    -rwxrwxrwx  1 tom  staff  43345974  1 Apr 01:56 VSCode-darwin-stable.zip*

Re: Visual Studio Code 1.5

#105
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?

Re: Visual Studio Code 1.5

#106

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.

Ive always wondered why they don't break the text editor from Visual Studio out into a native lightweight editor. If they did that I would switch from Notepad++ for my text file editing on Windows.

However, even if there was a native VSCode for Linux it wouldn't tear me away from Emacs.

Re: Visual Studio Code 1.5

#107
post #96

Anybody know how well VS Code works for C++? I really don't like how limited Sublime's linting/static analysis options are.

I've used it a lot for C with great success, although that's not C++. Give it a shot with the cpptools (I think that's what it's called), as well as the clang extension (which improved the experience by an order of magnitude).

Are they mutually exclusive? Or can I use both? You recommend clang instead?

Re: Visual Studio Code 1.5

#108
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…

You can definitely use type definitions for Vue.js and React. They work very well.

Re: Visual Studio Code 1.5

#109
post #19

I find it interesting that this software isn't designed with Xamarin for all platforms, but instead uses Electron. I mean I get it, the cross platform libraries are better in Electron, but it side steps their current cross platform initiative.

VS Code Initial release: April 29, 2015 Xamarin Acquisition Announcement Feb 24, 2016

And VS Code runs on the Monaco editor, which goes back a while before that:

http://www.zdnet.com/article/microsofts-browser-based-dev-to...

http://www.hanselman.com/blog/ARichNewJavaScriptCodeEditorSp...

Re: Visual Studio Code 1.5

#110
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! :)

Not disagreeing but I got all I needed with Atom + atom-ternjs And I don't even have to introduce typescript to my codebase to get surprisingly good hinting and autocomplete.

The hinting is almost secondary to the implicit documentation that a typed language brings.
Post reply on HN