Live data from Hacker News

VS Code can do that?

vscodecandothat.com

121–130 of 280 posts

Re: VS Code can do that?

#122
post #56
post #25

If only the core was some sturdy C++ or Rust or whatever as opposed to JS and a nice GUI/Canvas lib as opposed to DOM.

Wouldn't it just be Visual Studio then? We would get updates once a year instead of once a month. There are less C++ devs than JS devs. The size of the community that could contribute would shrink also.

>Wouldn't it just be Visual Studio then?

No, but it would "just be" an open source, MS backed, version of Sublime or TextMate. The concept of Visual Studio is different.

>We would get updates once a year instead of once a month.

The language the core is in is irrelevant as to whenever we would see updates. That's a concern of the release process.

>There are less C++ devs than JS devs.

Not really important, as most of the contributors are MS guys anyway. In fact a single person has made Sublime Text, an editor that offers most of what VSCode offers, with 1/100 the budget and manpower. If only it was Open Source too, or had a few more devs...

Re: VS Code can do that?

#123
post #61

Slightly off topic but this code in example #5: get() { return new Promise((resolve, reject) => { fetch(`${baseAPI}/heroes`) .then(response => response.json()) .then(json => resolve(json)) .catch(err => { reject (err); }); }); } Why not just: get() { return fetch(`${baseAPI}/heroes`) .then(response => response.json()); }

[deleted]

Re: VS Code can do that?

#124
post #15

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

I've been using computers for over twenty years, and I'm still yet to use the insert key on purpose. My AutoHotkey profile actually suppresses the keypress entirely, along with some media keys.

Good idea. Mine blocks F1, which gets collaterally damaged in my attempts to hit ESC. Not sure why I didn't think of this but it's going in there!

Re: VS Code can do that?

#125
post #25

If only the core was some sturdy C++ or Rust or whatever as opposed to JS and a nice GUI/Canvas lib as opposed to DOM.

why?

Do we really argue why the DOM and a full blown browser engine might not be the best option for a programmer's editor?

How low have we fallen from what programmers were concerned with memory use, and speed, and the right tool for the right job, and so on, and even Emacs was considered bloated...

Re: VS Code can do that?

#126
post #77

tbh I wish editors would get rid of "log breakpoints". Teach people to use the conditional breakpoint and just enter `console.log(...)` instead, it's overwhelmingly more powerful. A specialized "log breakpoint" doesn't teach them that it's just code . (I've run into quite a few programmers who have known about log breakpoints for years, used them fairly heavily, but never knew you could do things in conditional break…

Don't teach people to program using IDEs if you actually want them to learn how things work.

Re: VS Code can do that?

#128

Earlier quoted context omitted.

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.

>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?

Why not? Didn't hurt ST or TextMate much (though them being closed source did). And we still use Vim, written in C, 40+ years on, and it has tons of plugins...

>Would Microsoft have continued investment in the product if it hadn't?

MS developed Monaco for over a decade, with very little adoption, so why not?

Re: VS Code can do that?

#129
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.

If you're like me who prefers having million tabs open you'll find vscode to be much easier on memory usage with multiple project windows open. Also the extensions are nice although i do not know how good they are versus intellij.

Re: VS Code can do that?

#130

Earlier quoted context omitted.

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.

It's one of those things that is incredibly useful. Of course it's possible to survive without it, but it's like saying "I don't know how people program without Copy and Paste". It helps.
Post reply on HN