News for hackers. Stuff that matters.
Re:VS Code can do that? by nabc45 on Saturday April 21, 2018 @11:48AM (#16891851)
Can it launch in less than 10 secs with a mechanical disk?

Can it not be unresponsive if you have a mechanical disk or a weak CPU?

Ooops, I'll stick to Sublime

Re:VS Code can do that? by matthewmacleod on Saturday April 21, 2018 @11:53AM (#16891879)
I'm not a fan of the idea of the editors-in-HTML craze, but designing for mechanical disk usage is a bit silly, no?
Re:VS Code can do that? by shawnz on Saturday April 21, 2018 @11:50AM (#16891866)
Unfortunate that you're being downvoted because the slow start time of VS code is honestly such a big blocker that it outweighs most of these features for me. I just can't wait 10 seconds every single time I want to take a note.
Re:VS Code can do that? by ed_balls on Saturday April 21, 2018 @11:55AM (#16891893)
Is it really an issue? I think I start my editor only when I do the update and I have to reset my mac.
Re:VS Code can do that? by shawnz on Saturday April 21, 2018 @11:58AM (#16891909)
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.
Re:VS Code can do that? by macinjosh on Saturday April 21, 2018 @12:09PM (#16891949)
I don't think a machine with just 4GB of RAM can be considered a 'workstation'.
Re:VS Code can do that? by shawnz on Saturday April 21, 2018 @12:23PM (#16892007)
Ouch! It's not much, but it's mine.
Re:VS Code can do that? by orf on Saturday April 21, 2018 @12:43PM (#16892115)
Are you running Windows? Could put *nix on it, reduce the amount of crap running in the background and pick a low-memory shell?
Re:VS Code can do that? by shawnz on Saturday April 21, 2018 @12:50PM (#16892144)
The biggest consumer of RAM for me is chrome, not windows, and it is basically essential to my development process to have it open all the time. So I worry an OS change would not produce an appreciable enough performance improvement to justify changing my whole workflow over.
Re:VS Code can do that? by arbie on Sunday April 22, 2018 @10:00AM (#16896190)
Is Chromium on Linux a suitable alternative for your development workflow?
Re:VS Code can do that? by analogmemory on Saturday April 21, 2018 @12:34PM (#16892053)
Rude
Re:VS Code can do that? by rp1229 on Saturday April 21, 2018 @11:55AM (#16891891)
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.

Re:VS Code can do that? by epicide on Saturday April 21, 2018 @11:59AM (#16891910)
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.

Re:VS Code can do that? by shawnz on Saturday April 21, 2018 @12:13PM (#16891967)
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? by mattchamb on Saturday April 21, 2018 @01:32PM (#16892322)
I leave vscode open basically 100% of the time and use notepad++ for quick edits. Vscode having slow startup doesn't affect my support of it at all
Re:VS Code can do that? by shawnz on Saturday April 21, 2018 @12:22PM (#16892003)
It's not so much a professional issue as a personal one. When I get an idea and want to start taking some notes, a 10 second delay is more than enough time for me to get side-tracked by the details. So I skip VS code and open notepad instead, in the interest of getting the idea out as soon as possible. And as the complexity of the project starts to increase to the point where VS code's more advanced functionality might actually come in useful, there just never seems to be a good time to stop what I'm doing and change editors.
Re:VS Code can do that? by orf on Saturday April 21, 2018 @12:44PM (#16892121)
Do you mean notepad++, or just notepad?
Re:VS Code can do that? by coldtea on Saturday April 21, 2018 @12:00PM (#16891915)
>Can it launch in less than 10 secs with a mechanical disk?

Well, it is 2018. Mechanical disks?

Re:VS Code can do that? by zpr on Saturday April 21, 2018 @12:03PM (#16891926)
Just curious, why do you use a mechanical disk?
Re:VS Code can do that? by shawnz on Saturday April 21, 2018 @12:33PM (#16892052)
Mechanical disks are basically free in this day and age, so that's still a pretty significant savings over an SSD which is more like the price of a mechanical disk 10 years ago. You could cheap out and do a small SSD/large HDD combination, but I find that having an excessively small system drive is nothing but headaches, especially for software development where you are frequently installing different toolchains, etc. Until I can afford an SSD that is comfortably in excess of my storage requirements, then I'll stick with the HDD.
Re:VS Code can do that? by bproctor on Saturday April 21, 2018 @11:58AM (#16891905)
I've been using both lately. VSCode for when I'm working on a project and the editor ends up staying open all day. I also often have to work with large files, so I use Sublime to pop them open and make a quick change.
Re:VS Code can do that? by epicide on Saturday April 21, 2018 @11:56AM (#16891897)
These are helpful tips for VS Code. If you don't (want to) use it, then this has nothing to do with you.

Nobody is trying to sell VS Code to you.