Live data from Hacker News

VS Code can do that?

vscodecandothat.com

41–50 of 280 posts

Re: VS Code can do that?

#41
post #39

I don't know how is it now, but I've used it for a couple of months for web dev on my mac and switched to Atom when noticed my cpu was 70%+ of usage all the time. I suspected it was because of the typescript plugin, but honestly I don't care Atom doesn't do that and I'm happy with it.

Interesting I made the opposite switch for the exact same reason.

Re: VS Code can do that?

#42
post #15

And yet it still doesn't respect the Insert key. https://marketplace.visualstudio.com/items?itemName=adammara...

People actually use "work deletion mode" on purpose? I've always wished this key at least had an LED indicator along with Caps Lock.

Once upon a time, hitting insert resulted in the caret switching from line to rectangle to indicate input mode.

Re: VS Code can do that?

#43

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…

I'm not sure where this feature originated, but it's been a core feature of Sublime for as long as I've used it, and is also broadly available in other editors. Definitely not a VS Code-specific thing, though it's still great!

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

Re: VS Code can do that?

#44
post #27

Earlier quoted context omitted.

Is it really an issue? I think I start my editor only when I do the update and I have to reset my mac.

I am on a fairly RAM constrained workstation (4GB) so I have no choice but to close it when I'm not using it. Otherwise I'll spend just as long swapping as I would opening a new instance.

I don't think a machine with just 4GB of RAM can be considered a 'workstation'.

Re: VS Code can do that?

#46
post #2

For the past 2+ years I've continued to be amazed by VS Code. The most amazing thing about it, it works best (in my experience) on Linux.

for me it doesn't work well with non-standard keyboard (colemak). All shortcuts break (at least on fedora 28 it does)

Re: VS Code can do that?

#47
post #28
post #16

Earlier quoted context omitted.

What is your workflow like that a few second delay is a major blocker? I used to feel the same way early in my career. Now I don’t feel the need to be in a rush all the time.

I've seen some people make the argument that they want to use their editor for quick edits to single files, which is a fine use-case. However, VS Code is really not designed to be optimized for that case. It's really about editing code (hence the name) as opposed to quick edits to configs, etc. It's usually best if one knows a few different tools designed for different scenarios. Right tool for the job.

At the same time though, it is purposely not positioned to replace a full-blown IDE. So what is the use case that it's optimized for? Why does it offer to add an "open with code" context menu item to every file if it's not expected that you'll be using it for quick edits on individual files?

Re: VS Code can do that?

#48

Earlier quoted context omitted.

why?

Speed. Sublime and Vim still have quite a considerable lead on VS Code for example (even if VS Code is much better than Atom).

sure, but would we even be here talking about VS Code if it had been written in those languages? Would the extension community have grown as quickly? Would Microsoft have continued investment in the product if it hadn't?

I'm not saying that it wouldn't have been as successful, but we're here, now, and it is. It's a great product regardless of the fact that it's written with HTML/CSS/JS.

Re: VS Code can do that?

#49

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…

Sometimes I have 2 alternatives for a piece of code, one commented out and the other not, and I'd like to toggle between the two. With multicursor I just select both and hit `ctrl-/` to toggle them on and off.

I've had issues in IDEs where they have shitty implementations of multicursor that break that example.

Post reply on HN