Live data from Hacker News

Visual Studio Code 1.0

code.visualstudio.com

401–410 of 487 posts

Re: Visual Studio Code 1.0

#401

Earlier quoted context omitted.

> Coming from OS X Also, do Windows editors have that Alt+drag rectangular text selection feature that most/some OS X apps have?

No, it is implemented by each editor/ ide independently with their own modifier. On the contrary we have mostly consistent ctrl/shift + arrow behaviour over the last 15 or more years(I don't know before that). :-)

> On the contrary we have mostly consistent ctrl/shift + arrow behavior

Are you saying Windows has consistent Control/Shift + arrow behavior?

OS X is pretty consistent about this too, though Control+Arrow moves between Desktop Spaces, not related to text, but you can modify a lot of system/app shortcuts from Preferences -> Keyboard -> Shortcuts.

Re: Visual Studio Code 1.0

#402
post #130

VSCode knockouts Atom in a dispute for becoming a developer editor in a corporate computer. Sure, you all have root password in your computer. Unfortunately, I belong to a lower race: the corporate developer. I work in a Windows 7 machine, don't have root password and there's a big wall called proxy around me. I didn't know about VSCode before this HN post, but I was trying to use a new editor instead of Notepad++. I…

> To quickly test a new general code editor I just want 3 "simple" things: column selection, regexp search and replace, and a python mode.

FWIW since you mention Notepad++, Zeus is another Windows based programmer's editor with those three features.

Re: Visual Studio Code 1.0

#403
post #303
post #222

Earlier quoted context omitted.

Because the low-level modularity of Vim and Emacs gives you more control, by letting you choose the combination of tools you use ; instead of tying together the language(s), the compiler, the tag/completion engine, the build/project system, the debugger, the profiler, like many IDEs do. The sole concept of IDEs specialized for one language makes me cringe.

I am a long time Vim user but I have never ever managed to get c++ tag completion work consistently there. At some point I just stopped trying - went to Qt creator and turned on Vim plugin there. The experience (for C++) is just vastly superior. The IDE integrates with CMake natively, the debugger is graphical and works, the symbol navigation over all project is blazing fast, I have real refactoring etc... I still us…

Check out https://valloric.github.io/YouCompleteMe/ C/C++ completion for VIM.

Of course an IDE like QT Creator does many things better. But it's a tradeoff always.

Re: Visual Studio Code 1.0

#404

Earlier quoted context omitted.

No, it is implemented by each editor/ ide independently with their own modifier. On the contrary we have mostly consistent ctrl/shift + arrow behaviour over the last 15 or more years(I don't know before that). :-)

> On the contrary we have mostly consistent ctrl/shift + arrow behavior Are you saying Windows has consistent Control/Shift + arrow behavior? OS X is pretty consistent about this too, though Control+Arrow moves between Desktop Spaces, not related to text, but you can modify a lot of system/app shortcuts from Preferences -> Keyboard -> Shortcuts.

When I had a Mac (2009 - 2012) what modifier to use for different text movement operations varied wildly, even between the built in applications.

Mac using colleagues explained that it was because the applications where written using different toolkits.

Re: Visual Studio Code 1.0

#406

Earlier quoted context omitted.

Actually, you can get decently proficient in just few hours. Have you actually tried sitting in front of Emacs or vim for more than 30 minutes, to the clock ? Humans have this funny thing as they grow older - they look at a thing, maybe try it out for few seconds, and then immediately determine it's too difficult and it will take forever. They rarely bother to spend actual five minutes, to the clock. If they did, the…

> Have you actually tried sitting in front of Emacs or vim for more than 30 minutes, to the clock? Not parent but I have. I still would recommend something else for all the stuff I work with. That said, it is amazing, I just believe in my line of work people are better off spending time learning an ide, esp refactoring, efficient search/ replace as well as how to enable block selection.

> I still would recommend something else for all the stuff I work with.

I sometimes do to. In particular, when that stuff is Java or C# - it's hard to beat the support IDEs gives you there. So I personally opt to switching said IDEs to Emacs keybindings instead.

(Also, one could argue that you need IDEs there mostly as crutches to support the weak language, but that's a topic for another day...)

> better off spending time learning an ide, esp refactoring, efficient search/ replace as well as how to enable block selection.

Refactoring - if you mean semantic transformations supported by your IDE, then yes. See above. But for search/replace and block selection no IDE beats the convenience of Vim and Emacs. They simply can do that better and more naturally (along with plethora of similar things helping with selection and navigation). And this is exactly the type of thing I was talking about in my previous comments - you can learn both under one Pomodoro if you focus solely on it, and then normal work will quickly take you to proficiency.

Re: Visual Studio Code 1.0

#407
post #3

I absolutely love how VS Code generally feels more native, performant, and polished than Atom, but lack of a good VIM mode is keeping me away right now. Hopefully the author of VIM Mode in Atom, makes a VS Code plugin.

The VIM plugin for Intellij is perfect.

Part of the reason I love Webstorm is because of how nice IdeaVim is

Re: Visual Studio Code 1.0

#408

Earlier quoted context omitted.

What made you switch from vim to Atom?

Mostly tried it and got used to it. I liked the defaults a lot more than I do vim(nothing some plugins, a good .vimrc, etc can't fix), and I found it much more natural to use extensions that I ever did vim, so once I got Atom matching my usual vim setup I found myself extending beyond that. Most of it's probably stuff I could do in vim too, but adding extensions on whim feels a bit more natural in Atom. I still spend…

Thanks for replying.

I asked because so much people say "If you're serious about development then you need a serious editor: you should learn vim/Emacs because it's a once in a lifetime investment that will boost your productivity beyond what other tools provide". This mantra doesn't match my own experience.

I think Atom and VSCode provide 3 main advantages over vim: the out of the box experience is better; using a GUI offers a more powerful user interface; extensions are easier to install and work better.

It's like comparing fish and zsh: Atom and VSCode are more like fish; vim and Emacs are like zsh.

Re: Visual Studio Code 1.0

#409

Earlier quoted context omitted.

There are several actually, with different subsets of Vim. Sadly, none are as good as Atom's.

Link to the Atom module? I'll take a look at making something similar.

I assume it's this one? https://github.com/atom/vim-mode

Re: Visual Studio Code 1.0

#410

I'm a long time Linux guy and absolutely hate Visual Studio, it's just clunky and unusable as Eclipse. This post prompted me to try VS Code and I must say, I'm really impressed. There are still a few rough edges but I do understand it's still young. As soon as the Vim extension becomes usable I'll be on board I think; things like visual selection don't appear to work correctly at the moment.

I'm the maintainer of amVim. I don't know if you tried amVim. It supports Visual and VisualLine. Also, you may find it handles detail behaviors of Vim much better.

It looks like a big improvement, but I notice visual mode doesn't work with cursor keys, and I'm also not seeing an ex-mode (eg. :w). Would love to see these implemented :)
Post reply on HN