Live data from Hacker News

Visual Studio Code 1.7

code.visualstudio.com

61–70 of 180 posts

Re: Visual Studio Code 1.7

#61

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

Re: Visual Studio Code 1.7

#62
post #60

It's interesting they base this on NodeJS instead of Chakra.

Isn't Chakra a alternative to V8 as opposed to NodeJS?

There is a variant of NodeJS, that is based on Chakra instead of V8, but it might not be mature enough to use here I guess.

Re: Visual Studio Code 1.7

#64
post #27

Microsoft and TypeScript team are doing amazing work with this editor! There are so many interesting features in it, gave it a shot few weeks ago and was really satisfied. And it is probably the first electron app that didn't feel like rest of the bunch, that are pretty much hogs and not very responsive (especially when we talk about editors and IDEs). But you know, I can't hang Emacs and Vim on the wall and leave th…

>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 beautiful, minimal or heavy like an OS. In the end, what kept me on Emacs to be sincere was auto indentation and perfect completion system. I always had to tweak and fix those things in Vim. In Emacs, nothing, I just write code (yeah, navigating code in Vim is faster, but Emacs has some really neat ides like rectangles).

Re: Visual Studio Code 1.7

#66

The combo of Typescript and VS Code is really well done. Transitioning from JS to TS is well supported by documentation, IDE integration and language design. Apple once made people very happy when they adapted things and workflows that are important to Unix users. Now they're drifting away from that. Microsoft is going in the opposite direction and seems to listen to what developers really would like to see.

Yes. With TS2 the type gathering is much easier, but there are still many libs out there with outdated type definitions or none at all.

They got this "allowJs" flag, which I found a good idea, but I never got it to work.

Re: Visual Studio Code 1.7

#68
post #53

I typically bounce between vim and Atom for Python development, with occasional forays into VSC. VSC has come along very nicely to the point where I may just make it my full time GUI editor. Can anybody recommend some must have plugins for Python development on VSC?

https://marketplace.visualstudio.com/items?itemName=donjayam... is fantastic, and I haven't felt the need to install anything beyond that (for Python specifically).

Re: Visual Studio Code 1.7

#69
post #53

I typically bounce between vim and Atom for Python development, with occasional forays into VSC. VSC has come along very nicely to the point where I may just make it my full time GUI editor. Can anybody recommend some must have plugins for Python development on VSC?

- Python for VS Code: https://marketplace.visualstudio.com/items?itemName=donjayam...

- Django Template: https://marketplace.visualstudio.com/items?itemName=bibhasdn...

- Django Snippets: https://marketplace.visualstudio.com/items?itemName=bibhasdn...

Re: Visual Studio Code 1.7

#70

Earlier quoted context omitted.

It does have multiple cursors. See https://code.visualstudio.com/Docs/editor/codebasics#_multip...

Ah, Thanks - I see now the shortcut is [Alt-click] as opposed to [Cmd-click] in the other two editors. I just didn't dig around enough to find the right key combination. But I guess this shows how ingrained muscle memory and habits are hard to change, and why certain editors remain people's favourites.

Be warned though... this is one area where vscode is noticeably worse than atom or sublime; There's no alt-click-drag support so making a rectangular edit is much more work; you manually create the correct selection on each line. It's one of the few things I miss from Atom (and one of the main reasons I switched to textmate way way back).
Post reply on HN