Live data from Hacker News

Visual Studio Code 1.4

code.visualstudio.com

81–90 of 155 posts

Re: Visual Studio Code 1.4

#81
post #60

Earlier quoted context omitted.

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.

I'm curious, what's the thought behind having an official company-wide text editor? The companies I've worked for usually take the route of "leave their choice in tools up to them", which I appreciate.

We needed a good standard setup that fit our needs. People can opt to use something else as long as their code meets the style guidelines. But its easier to use the same tool. We share tips and tricks a lot. That way we improve our workflow as a whole.

Why not vim itself? We tried it. They are more used to GUI centric editors. (shrugs)

Re: Visual Studio Code 1.4

#82
post #69

Earlier quoted context omitted.

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.

What's the rationale behind forcing people to use an editor (especially a specific editor for a single language)?

They can use anything as Long as the code meets the requirements. But having one official tool makes it easy to work together (in our case).

Re: Visual Studio Code 1.4

#83
post #77

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

The cool telemetry phone home features that cannot be turned off in a reliable way (think updates). It's the feel good vibe that runs through all new MS apps and Win10. We should thank the third CEO for his great vision and be happy to give him all insight he needs. He is clearly steering his thriving platform to the next level.

Not sure if you're being sarcastic or not. Collecting data to improve the software is a great virtue, but not providing a reliably way to turn it off is definitely not cool.

Re: Visual Studio Code 1.4

#84
post #6

Earlier quoted context omitted.

I find it amusing that the stack I'm using to write a systems application is javascript all the way down, from the editor window to the terminal it runs in. (not bashing. just saying it's amusing. I freakin love VSC.)

Javascript is the new turtle.

I don't know what your comment means, but I'm intrigued by it. Which turtle are you talking about?

Re: Visual Studio Code 1.4

#85
post #20

Earlier quoted context omitted.

You mean you have a text editor that knows what words are on the page in a CHROME tab (for example) Or you mean, that if you've got 2 text files open as tabs in the same VSCODE window typing in 1 tab will auto-complete with words from the 2nd tab? Where have you seen this feature as it sounds AMAZING!

I mean the latter (other open windows in the text editor). TextMate and Sublime both operate this way, as opposed to IntelliSense style auto-complete where it only operates off of symbol definitions (class names, function names, properties and variables, etc). Which makes sense, because TextMate and Sublime don't really "understand" your code like Visual Studio historically does.

Sublime Text doesn't do this by default although there's an extension[1] to do that.

[1] https://github.com/alienhard/SublimeAllAutocomplete

Re: Visual Studio Code 1.4

#86

Earlier quoted context omitted.

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 v…

Answer the question "Does your editor support autocomplete?" isn't very useful, since autocomplete only means, can the editor feedback some choices (wherever those choices may come) into your typing experience? We really need a better vocabulary to describe and differentiate between the many kinds of auto-completions, or we might just talk past each other when comparing the powers of our editing experiences.

Re: Visual Studio Code 1.4

#87

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

And some great features inherited from Visual Studio. Peek definition. when you want to peek a few lines of a method or type, you don't have to go away from the current position. In Sublime and Atom, it really bothers to open another tab. Navigation through overloaded methods. When a text editor is built to help people coding easily and make itself extended easily, it has to include some basic infrastructure so that…

The newer dev builds of Sublime Text introduced a way to render popups (that hover over text) using a subset of html (minihtml). It's already being used to show a list of references under the cursor as well as better build errors. I imagine there will be extensions taking advantage of this soon.

Re: Visual Studio Code 1.4

#89
post #6

Earlier quoted context omitted.

Javascript is the new turtle.

I don't know what your comment means, but I'm intrigued by it. Which turtle are you talking about?

I guess it's a reference to the "it's turtles all the way down" expression: https://en.wikipedia.org/wiki/Turtles_all_the_way_down

Re: Visual Studio Code 1.4

#90
post #78

I tried to use it for C++ development on Linux. A project I'm working on uses Qt, and I put QT's include directories into the configuration file as was described in documentation. I was unable to get autocompletion to work with Qt and after 10 minutes I gave up on it and went back to using Netbeans.

Have you tried Qt Creator? Its really good for normal C++ development and even better for Qt specific development.
Post reply on HN