Live data from Hacker News

Visual Studio Code 1.7

code.visualstudio.com

71–80 of 180 posts

Re: Visual Studio Code 1.7

#71
post #63

Keymaps for Sublime and Atom They are on a mission.

I was so excited, but it turns out there's still no middle click for block selection :(

I like to read these release discussions so much.

Everyone has their pet feature, most of them stuff that I never use or didn't even know they existed.

I personally like ctrl+/ to comment out blocks or mark stuff from the integrated terminal, both didn't work the last time I tried it.

Re: Visual Studio Code 1.7

#72

I love using VIM to edit, but stuff like the following makes it hard for me to resist switching. "ATA makes typings files almost invisible. A TypeScript language server that has ATA enabled watches your package.json files and automatically installs the typings files of all dependencies in a cache on your file system. It does the same when it finds references to well known client-side libraries. When you then invoke I…

There's no need to switch editors for that. The language servers can be used by any editor that supports the language server protocol. As far as I know nobody has written a plugin for Vim yet, but here's a discussion issue on the neovim tracker: https://github.com/neovim/neovim/issues/5522

Also, async completers like deoplete[1] offer non-blocking completion.

However...

> stuff like the following makes it hard for me to resist switching.

I don't think one should "resist". IDEs (VS code is an IDE, at this point) are very powerful. I really wish vim-modes would go away; I would like to see Neovim embedded in VS code and friends, instead. By "embed" I mean: nvim is the text editor, it does everything; it lives in the "document" area of the IDE; and you can bind nvim keys to IDE functions/commands (such as "Open Type...").

[1] https://github.com/Shougo/deoplete.nvim

Re: Visual Studio Code 1.7

#73
post #29

The one unfortunate thing about it is that it doesn't work/isn't packaged for Raspberry Pi. I don't understand why they don't make a package for the pi, if it's a JS app anyways

https://github.com/Microsoft/vscode/wiki/How-to-Contribute#b...

Doesn't compile on my system.

Re: Visual Studio Code 1.7

#74
post #27

Earlier quoted context omitted.

>But you know, I can't hang Emacs and Vim on the wall and leave them there. I never got the hang of Emacs, but there is a decent vim extension (there are a bunch) called vimStyle which at least gets you the vim-like code navigation.

I had really hard time for 3 months (after using vim for 4 years). I just uninstalled everything else, and first week was painful, but it was really fun since I wanted to learn Lisp/Scheme, so I touched ELisp while playing/tweaking with emacs. After that I just couldn't go back to Vim. I started tweaking and digging. The point of Emacs is that you can make it be whatever you want. It can be both amazingly ugly and be…

Since you used vim for 4 years, why didn't you add evil to emacs?

Re: Visual Studio Code 1.7

#75

I love using VIM to edit, but stuff like the following makes it hard for me to resist switching. "ATA makes typings files almost invisible. A TypeScript language server that has ATA enabled watches your package.json files and automatically installs the typings files of all dependencies in a cache on your file system. It does the same when it finds references to well known client-side libraries. When you then invoke I…

Hey, I'm one of the developers of VSCodeVim, and I'd encourage you to try out our extension and see how it works for you. You could get the best of both worlds! :)

Re: Visual Studio Code 1.7

#77
I've tried it, but I'm not as big a fan of the UX, so I'm sticking with Atom. Also, Atom is easier to customize to your liking, I've already written custom commands for it and modified the CSS. Also themes are lacking in VS Code.

What I would like to see is Atom embracing the IDE to the same level VS Code is doing. If Atom had a proper debugger UX that all language could use, and better auto-complete. Those are the only things I find better in VS Code.

Re: Visual Studio Code 1.7

#79
post #37

Earlier quoted context omitted.

It actually does have multi cursor. Try cmd + D to highlight multiple instances of a selected block, just like in sublime.

Thanks for the additional useful tip. My usage of this feature is usually via 'brute force', i.e. Cmd-click (or Cmd-double click) on multiple points in my code and begin typing. This shortcut will make variable renaming a LOT easier.

Maybe you should also learn that ctrl+k skip one of the selections, so you can rename things and skip the ones that you don't want to change pretty fast when combined with ctrl+d.
Post reply on HN