Live data from Hacker News

Visual Studio Code 1.9

code.visualstudio.com

231–240 of 312 posts

Re: Visual Studio Code 1.9

#231

Given that this runs on electron, which is basically a web browser with a node backend, is it possible to run this either as a webserver or otherwise remotely ? I'd like to run this with the webserver running on a big dev machine at work and the client at work. X forwarding is not working well for me at least.

I use sshfs for that. `sshfs username@remoteserver:/directory/to/mount mount_point` lets me edit the remote files locally. Then I compile and run (via mosh, which is like ssh but better, particularly if you have crappy internet) on remoteserver.

Re: Visual Studio Code 1.9

#233
Alternatively I have been using IntelliJ with the Go plugin for about a year and now the Gogland EAP.

It has some really cool features like VCS integration, "TODO" panel and "goto" functionality that works through interfaces. You can "Goto Super Method" to jump to the definition of an interface function that the highlighted function implements. You can also do the reverse which is to list all the structs that implement an interface, or a specific interface function.

Re: Visual Studio Code 1.9

#234
post #228

I have used vim for years and I was tasked with making an Electron app for a client so I tried vscode... And I love it! I still use vim for sysadmin things but it has been the first thing Microsoft has made since the original Natural Keyboard that I absolutely love. It is good. I recommend it to others. I hate bloated editors and it is good... No config/setup process either - the defaults are enough!

I do tweak a few of the defaults. I use it on windows, linux and mac and they vary, so I like them consistent (linux line endings by default, 2-spaces, etc).

I agree that it's one of the best products from MS today... I keep hoping that they take this as a model and re-create SQL Management Studio as an Electron app as well (I know about the VS Code extension).

I had tried electron and brackets before VS Code, and was skeptical... other than a few learning curves in the UX, it's been great. I don't think anything compares in terms of the plugin ecosystem either (though might not quite mach sublime).

Re: Visual Studio Code 1.9

#235

This is an off topic, but I just learned from the article that PowerShell will soon be the default in place of cmd.exe in Windows 10. I welcome this change as I found the experience of using PS was superior to that of bash/zsh in general cases. But I hope they figured out the performance problem. As of writing, in the stable version of Windows 10, PS is perceptually slower than cmd, so I was forced to use PS only whe…

On that note if you are a .NET developer you owe yourself to learn PS and how to write cmdlets, it's such a powerful and easy way to expose a CLI for your .NET app compared to stdio and command line arguments parsing - it's incredibly powerful and trivial to do. Unfortunately most .NET devs are programmers who grew up with VB, RAD and GUI tools they don't understand the value of exposing UNIX like small functionality…

I learned C# with a big fat book, and the command line compiler... I understand the usefulness of command line applications.

However, when I need more than what a simple shell script gives me, I'm more inclined to reach for node, ruby or python than C#/.Net ... the overhead for a quick scripting environment is quite a bit lower than having to setup a project and build requirements. I've done both...

Why node, is simply npm... create a directory, npm init, write my script, etc. reference it from an alias or .cmd in my ~/bin directory (added to my path). Then it works in windows, mac and linux which I use all regularly. PS is mostly windows.

Re: Visual Studio Code 1.9

#236

VSCode really does improve with each release, and the monthly cycle is just about the perfect pace. This is a great example of how to run an OSS project. I wonder how much Microsoft spends on it each month, and what value they see in it? Is it just a marketing expense? e.g. They fund VSCode in order to gain the good will of developers which they hope will turn into Azure or maybe Windows sales in the future?

I assumed the idea was also to eventually to get some users to move to the "real" visual studio, which I ended up doing at least to debug C++, except the vs editor is so much worse! For example, I use Ctrl+D for multiple editing all the time and I converted other people to vscode based on that feature alone, yet it does not exist in visual studio...

I'm probably wrong, but I get the feeling VSC is where all the MS devs that were fed up with Visual Studio politics moved to. They're able to get new features rolling much faster, rather than going against the ingrained assumptions of an Enterprise Application like VS.

I loved VS, but pro much stopped using it after starting to use VSC.

Re: Visual Studio Code 1.9

#237

I've been gradually finding myself using vscode over atom more and more, but the thing I consistently miss are Sublime-like shortcuts like Ctrl+D to duplicate a line or Ctrl+Click to add a cursor.

It has a lot of shortcuts for features that are just not set by result. Take a look at the keyboard shortcut file and search for something, or install one of the templates that mimic other editors.

Re: Visual Studio Code 1.9

#238

Earlier quoted context omitted.

An IDE is so much more. For instance, refactoring features. Even Microsoft defines VSCode as a "code editor" and not an IDE.

Think of "code editor" and "IDE" as two endpoints on a continuum. VsCode is less of an IDE than Visual Studio or Eclipse, but more of an IDE than Atom. It has has debugging and task running, after all. Sounds a lot like an IDE.

Exactly, it never ceases to amaze me how often people arbitrarily categorize stuff as is/isn't

Re: Visual Studio Code 1.9

#239

Does anybody know a way to have better window management in VSCode? I really don't like to split always and use the mouse to drag and drop... often I use two panes and I want to duplicate view in them. Hoping for something like the Sublime Origami plugin (which was perfect for me).

Check the shortcuts. There's a lot of shortcuts to manipulate the tabs.

Re: Visual Studio Code 1.9

#240

I have a new project at work that I decided to use it for to see how I liked using VS Code. For the most part, I like it, but it's lack of Mac-nativeness bugs me, and it may bug me enough to switch. Double clicking the window bar in all natives app minimizes them to the dock for me. In Visual Studio, it maximizes my window (but not into full screen mode). I keep clicking the menu bar to minimize a window, and this ke…

I never minimize anything on Mac, the concept is not so useful since there's nothing interesting on the "desktop" anyway.
Post reply on HN