Live data from Hacker News

Visual Studio Code 1.4

code.visualstudio.com

41–50 of 155 posts

Re: Visual Studio Code 1.4

#41

I have been trying to use VSCode for languages besides JS, like C# and C++, but I've been getting stuck. There's a big opportunity here for someone to write up some brief tutorials on how to use VSCode for other languages. So far, the instructions are basically "Get VSCode. Enable the C++ extension. Enjoy!" That's not enough, especially when it comes to setting up debugging, which c'mon, everyone needs. The json conf…

Not sure if this is helpful but I just found their Github repo consisting of the tips and tricks for VSCode.

Github: https://github.com/Microsoft/vscode-tips-and-tricks

Re: Visual Studio Code 1.4

#43

I've been using VSC as my daily driver for a few months now and it's great -- even on nightly builds. The most powerful features is the tasks.json. Once I learned to use it (the docs aren't good on it), I was able to utilize it to bring a more cohesive experience across many code bases. I enjoy the fact that it gives an integrated experience and allows community extensions. This is a big change from atom where everyt…

Me too. I was a bit skeptic at first. Been a long time vim user but wanted to try something new. I now use it to code Python (I write a lot of it). It works very nicely. So much that I'm in the process of making it the official company -wide text editor for python at work.

Re: Visual Studio Code 1.4

#44
I felt bad for Sublime. It would be hard for Sublime to compete with MS's free IDE. MS finally decides to take over the open source code editor market. VSC also borrowed many features from Sublime such as its famous integrated package manager and keyboard based shortcuts.

Re: Visual Studio Code 1.4

#46

I felt bad for Sublime. It would be hard for Sublime to compete with MS's free IDE. MS finally decides to take over the open source code editor market. VSC also borrowed many features from Sublime such as its famous integrated package manager and keyboard based shortcuts.

Although you can get the coding support in Sublime through Omnisharp: http://www.omnisharp.net/#integrations

They are providing the same tools they use to drive VSC to many popular editors, including Emacs and Vim as well. It seems that Microsoft wants to give you the best support they can in whatever environment you like!

Re: Visual Studio Code 1.4

#47

What would be some of the cool features that only exist on VSC that Sublime doesn't have?

Out of the box (which matters - just because an extension exists, doesn't mean everyone who would benefit from it can find it, add it, configure it, etc.)?

For one, nice git integration. You can see lines added/changed/removed in the gutter, unobtrusively.

Sublime has a plugin that does something similar but it's not out of box and it's not as nice/polished.

This is just one thing.

Re: Visual Studio Code 1.4

#48
post #22

Earlier quoted context omitted.

Intellisense? Autocomplete?

It isn't Intellisense since it isn't using type information but the context of the text buffer to determine possible completions. Autocomplete is too vague.

I think it's just part of autocomplete, but it has to have an expanded set of contexts it uses. I think VSC only checks for actual existing types/properties in that context. But other editors can be more intelligent: IntelliJ's IDEs, for example, will automatically autocomplete a new method name to a method that some code is referring to but that doesn't exist yet (it knows I'm trying to create it). I'll check what variables you created and suggest some names for new variables depending on context. Etc.

It's really vague, but I'd still call it autocomplete.

Some editors, like Notepad++, end up using whatever they can find as a means to autocomplete. So you end up with a huge list of suggestions for anything you type. But it's because they lack the power to analyze the code and actually know what's allowed where you're typing.

Re: Visual Studio Code 1.4

#49
post #16

Still no auto-import on Typescript. The main reason I use Webstorm over VSCode currently. What I am talking about: * new Foo| * * (Automatically inserted by editor top of the file where imports are) import {Foo} from "../relativePath/to/Foo.ts" * new Foo(param);| Working on a large TS codebase without this is absurd. Webstorm is way ahead of VSCode in this area, including things like multiple named imports like: * im…

Nor "organize import", you're right. I became too used to this in other editors, and now my (manually managed) imports are a royal mess.

Re: Visual Studio Code 1.4

#50

Whenever I try a new text editor, I run into a problem: I absolutely love the feature where it auto-completes based on other words in open windows (or other files in the open project). But there's no official term for this so I can never tell if a text editor has it. Years ago this used to be called "hippie expand", but I can't figure out a more modern name that is used. Does anyone know what Visual Studio Code calls…

It should be pretty easy to build a plugin that makes this happen. By default I think it auto completes from the buffer of existing document.
Post reply on HN