Live data from Hacker News

VS Code can do that?

vscodecandothat.com

91–100 of 280 posts

Re: VS Code can do that?

#91
post #81

Earlier quoted context omitted.

What's this do differently from just pressing Home with multicursors?

> What's this do differently from just pressing Home with multicursors? Pressing home doesn't always put you at the true beginning of the line. It will put you at the first non-whitespace character.

If you press it twice, it will put you at the beginning of the line.

Re: VS Code can do that?

#92
My favorite is when you have a git merge conflict - just open the file in VSCode and you can visually merge it. I can't explain the feeling of joy I had when I discovered this - and this keeps happening over and over with VSCode.

Re: VS Code can do that?

#93
post #60
post #18

Really nice idea, but 90% focused on Web (frontend?) development. HTML, JS, and not much else. :( Still found 2 useful things for me, Parens colorizer and settings sync via Github Gist.

IntelliJ Ultimate is still better even for frontend and node.

At work they pay the license for us if we want it but many of us (including me) still prefer VS Code.

(And FWIW, I have used Jetbrains products before I used VS Code.)

Re: VS Code can do that?

#95

Earlier quoted context omitted.

I believe Sublime introduced the feature. I looked it up and it was already present in the first release on January 18, 2008.

Column editing? That was in a shareware text editor that I wrote for Windows in the mid 90s and I didn't invent it.

multi-selection; multiple cursors, arbitrary (non-contiguous) columns, arbitrary rows.

Re: VS Code can do that?

#97
post #81

Earlier quoted context omitted.

> What's this do differently from just pressing Home with multicursors? Pressing home doesn't always put you at the true beginning of the line. It will put you at the first non-whitespace character.

If you press it twice, it will put you at the beginning of the line.

Damn. Now I regret never taking a typing class.

It only took using a keyboard for about 22 years to learn pressing home more than once has benefits.

Thanks!

Re: VS Code can do that?

#98
post #45

So honored to see Prettier being the #3 tip!

Well deserved! I was amazed at how much of a game changer a automatic code formatter was. Saves me a ton of time.

I do prefer adding a .prettierrc to projects, though, instead of inside vscode options (user or project) like what is suggested here. That way my teammates and I can use the same settings, even if they don't use vscode.

Re: VS Code can do that?

#99

My favorite is multi-selection mode. It's not the same as "Column Mode" you find in other IDEs but try it and you will never want another editor again: (Option)Alt-Cmd + Down or Up arrow key From there, you can use arrow keys as normal, but instead of controlling one carrot, you control all the ones you created. So if I use the shortcut key to move to the next word, they all do, same with end of line, or what have yo…

This exists in most editors I've used (intellij is alt + shift + click or double tap alt, if I recall). I don't know how people program without this feature - they should teach this shit in school. Multicursor is amazing. One thing it's been great for: I have code like: byte b1 = array[0]; And I want to do this for 16 bytes. Control + D to duplicate 15x. Double tap control, hit up 15 times - now there's a cursor at e…

I don't know how people program without this feature

You must do some kind of programming I've not encountered in my many years. While my editor of choice can do this, I would have no idea how, because a feature like "increment duplicates" is needed so infrequently that I would never remember the shortcut.

Re: VS Code can do that?

#100
post #90

Is there a way to have intellisense sense work with python dictionaries? It seems like intellisense for json would be a similar issue as nested dictionary representations in json, but I can’t find anything that does this and don’t want to use another class just for faster coding.

You'd need access to the runtime environment in order to do that.

That said I wish somebody would make an IDE that would tightly integrate IPython so I could get IDE autocompletion in a paused test. I spend way too much time writing code in IPython prompts and copying it back.

Post reply on HN