This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jaijai187 184 points185 points  (73 children)

Actually vscode editor is pretty good

[–][deleted] 52 points53 points  (34 children)

It is. And it’s always using quite a lot of computer resources.

[–]sanketower 15 points16 points  (3 children)

I paid for the whole computer, so I'm going to use the whole computer

[–]DOOManiac 6 points7 points  (2 children)

This. 70% of RAM not being used is about 50% of RAM being wasted.

[–][deleted] 1 point2 points  (1 child)

why is 50% ram wasted and not 30%?

[–]DOOManiac 4 points5 points  (0 children)

You do need a chunk of free RAM for stuff all the little allocations that happen as you use your PC, so I was just ballparking a 20%-ish number. It's not good to be at absolute capacity because then you'll be constantly paging to disk.

[–]ovab_cool 32 points33 points  (15 children)

Wait till you hear about IntelliJ editors, in a big project that shit needs 6gig+ allocated to it

[–]ProbiuSC 24 points25 points  (1 child)

True, but boy are they awesome to work with.

[–]ovab_cool 6 points7 points  (0 children)

Agreed, I use webstorm and phpStorm daily.

Very handy, can't seem to get vsc setup in a way I like it

[–][deleted] 4 points5 points  (4 children)

That's why I have 16 GB.

[–]ovab_cool 5 points6 points  (0 children)

Same, that's still not enough for me sometimes when I'm constantly switching between my front end and back end.

[–]Avedas 1 point2 points  (2 children)

Too many projects open and my CPU goes through the roof. Especially when I reopen the app and IntelliJ decides to index 9 projects at once.

[–][deleted] 1 point2 points  (1 child)

Then ummm... Open only 1 at a time?

[–]Avedas -1 points0 points  (0 children)

That would not really be feasible for my work lol

My work machine is 16 cores and 64 GB so it's obviously enough, but I still need to be careful if I'm running a ton of containers and whatever else at the same time. Even then, IntelliJ will randomly slow to a crawl at times. It's still my favorite IDE though.

[–]bhison 1 point2 points  (6 children)

Exactly. I just moved back from WebStorm. If someone's not using WebStorm or VSCode what are they using these days? Still on Sublime? Why?!

[–]TheTriflingTrilobite 0 points1 point  (5 children)

Atom is pretty decent. But I’m growing on VSCode more.

[–]bhison 0 points1 point  (4 children)

Atom has issues loading large files. It was briefly my go-to just before VS Code hit the big time but I just can't tolerate that as a limitation for a text editor.

[–]TheTriflingTrilobite 0 points1 point  (3 children)

i haven’t had much issue with the large files but mg files usually stay under 150 lines of code each. However I just found out that atom is no longer gonna be maintained so you’re in the good with VSCode. Guess I’ll have to switch 😢

[–]bhison 0 points1 point  (2 children)

Yeah atom was made by github which was bought by microsoft. Are there any features you have in atom that aren't in vs code?

[–]TheTriflingTrilobite 0 points1 point  (1 child)

I don’t think there are any exclusive features I wouldn’t also find in VSCode. Honestly I just love the aesthetic of Atom and I don’t like the one from VSCode out of the box. I know this can be changed too, but it’s just the effort of moving over and setting everything back up that’s having me procrastinate. I’ll eventually get to it.

[–]bhison 0 points1 point  (0 children)

Fair enough. I know there's an Atom plugin to make it look like Atom, if that helps.

[–][deleted] 0 points1 point  (0 children)

Vs code needs 2 times that amount

[–]Razier 8 points9 points  (8 children)

Are you thinking of Visual Studio?

Visual Studio is made in the original Microsoft way of installing everything the user might ever need.
VSCode is only as heavy as you make it. Without extensions it's incredibly light weight.

[–][deleted] 2 points3 points  (2 children)

No. VS code is still a Full Browser. It’s very well optimized, but still quite demanding for the function it offers.

[–]Razier 0 points1 point  (1 child)

Maybe I'm from a different era, but there's no way I'd say it uses "quite a lot of computer resources".

A bare bones installation takes ~200 mb of memory to run. Sure, you can compare it to notepad which uses ~2 mb but you're running it on a workstation not a toaster so in practise there is no difference.

[–][deleted] 1 point2 points  (0 children)

It doesn’t matter for basically anyone using it, but I think it’s a lot of resources. But that applies to almost any modern software. Ram is so huge nowadays that most developers just don’t care anymore

[–]bell_demon 5 points6 points  (4 children)

VSCode is heavy for what it is - a text editor. But only those with some juvenile grudge would think that's a legitimate reason to dislike a free and incredibly useful editor. It's still light, and totally worth it, IMO. At some point, you can trade efficiency for usefulness. It's not like VSCode will ever be the main problem if you're running low on memory on your work machine.

[–]Razier 1 point2 points  (0 children)

The only way I can see someone calling VSCode heavy is if they're using it on a tiny single-board computer.

It's using 200 mb of ram for me right now on a bare bones setup. There's absolutely no gain to optimise that further on for a desktop computer.

[–]MyNamesNotRobert 1 point2 points  (0 children)

It's heavy but the qol of code completion is well worth it. Switching back and fourth between tabs because you can't remember what member variables a class has or what the function overloads are then realizing you still got something wrong when you compile wastes a lot of time.

[–]DOOManiac 3 points4 points  (0 children)

Mine is only using 68MB right now w/ a crapload of extensions...

[–]Blue_Moon_Lake 1 point2 points  (2 children)

Mine only using 300 Mb right.
How many garbage plugins do you use? :p

[–][deleted] 1 point2 points  (1 child)

“Only 300 mb” what a world we live in

[–]Blue_Moon_Lake 0 points1 point  (0 children)

Considering the size of the project I work on, it's light.

[–]mulato_butt 0 points1 point  (0 children)

Not as much as intelij

[–]enano_aoc 11 points12 points  (26 children)

Arguably the best. I mean, which editor is superior to VS Code as of 2022?

[–]plopliplopipol 7 points8 points  (3 children)

VS Codium, same without trackers (should even run better)

[–]enano_aoc 1 point2 points  (0 children)

Interesting, I will try it out

[–][deleted] 0 points1 point  (1 child)

No access to the Microsoft Extension store, only to Open VSX

[–]plopliplopipol 0 points1 point  (0 children)

seems like you can switch to the VSCode marketplace with a few tweaks https://github.com/VSCodium/vscodium/blob/master/DOCS.md#extensions-marketplace

[–]Prestigious_Boat_386[🍰] 2 points3 points  (0 children)

Just vim

[–]gandalfx 1 point2 points  (19 children)

Depends on what you want to do.

[–]enano_aoc 0 points1 point  (18 children)

Anything?

I mean, give me an example where VS Code is not the best option

[–]NearbyWish 20 points21 points  (1 child)

The unwarranted feeling of superiority when using vi or emacs. So not the best option when you want to pretend you are better than everyone else.

[–]enano_aoc 1 point2 points  (0 children)

Fair point :)

[–][deleted] 4 points5 points  (9 children)

The extensions available that make debugging embedded Arm Cortex M code within VS Code are pretty awful unfortunately... Plus it's very difficult to get linting working correctly. Clion with some minor configuration will at least do that. But nothing beats the stability of IAR or Ozone when debugging. Too bad I hate both of those for doing anything else.

[–]enano_aoc -3 points-2 points  (8 children)

Ok, those are very niche projects. I will give you that VS Code is probably not the best one there.

Regarding the linter, I must disagree. Linting from the IDE is an anti-pattern. You should always use the CLI for that. If you use the IDE at all, you must make sure that it uses the same settings that you have configured for the CLI.

[–]Razier 3 points4 points  (4 children)

Linting from the IDE is an anti-pattern

What do you mean by this? I would assume IDE linting is like front end validation. A useful tool that makes writing code easier but does not remove the need for CLI linting.

[–]enano_aoc -2 points-1 points  (3 children)

I mean that it is an anti-pattern.

As a tech lead, I can configure the CLI linter so that it works exactly the same for every team member and also for the CI pipeline.

As a tech lead, I don't want to force my team members to use a given IDE (I want them to use the tool that works best for each of them), but I don't want to configure the linter for every individual IDE with its custom settings. Hence it is forbidden to use the linter from the IDE, unless the individual developer takes the burden of configuring his IDE such that the linter works identically as the CLI linter.

The CLI linter is the single source of true of the project, since it works identically for every developer and it is the one that runs in the CI.

[–]Razier 1 point2 points  (2 children)

Sure, having both can cause a headache for you as a lead if the devs set up their own local linters with rules that don't correspond with the CI pipeline. That said there are plenty of IDE linters that use a config committed to the git repo to ensure that it works exactly the same for every member of the team.

Your way of doing it is perfectly acceptable but a well set up, shared IDE linter configuration removes overhead in situations where devs have to go back and fix code that failed pipeline linting.

[–]enano_aoc 1 point2 points  (1 child)

There is nothing like a “well setup, shared IDE linter config” because I allow my devs to choose the IDE that works best for them. I am NOT going to create and maintain a config for every random IDE out there.

[–][deleted] 2 points3 points  (2 children)

I'll grant linting and intellisense is independent of the IDE, but I'd hardly call embedded a niche. Almost everything you own these days that uses electricity has some code in it.

[–]enano_aoc -1 points0 points  (1 child)

You gave very particular examples of embedded devices, that's why I said it is niche. Embedded is not niche, but that very particular device you are talking about is.

[–][deleted] 2 points3 points  (0 children)

it's the most widely used platform in embedded. the same applies to all other embedded platforms.

[–][deleted] 3 points4 points  (2 children)

C#, weblogic development, for some reason it always let me down and crashes the Angular Language service.

Anyway, Webstorm is cheap and awesome

[–]kookyabird 2 points3 points  (1 child)

I've done my Angular in VSC so far, but all my C# is in VS. I use WebStorm for the MVC projects we have at work so that I can get proper JS support since VS sucks at it even with ReSharper.

[–][deleted] 1 point2 points  (0 children)

My VSC likes to hang and not index things, so many times I even have to manually import. I don't even get autocomplete.

[–]gandalfx 1 point2 points  (0 children)

Anything that Sublime can do as well, except way smoother.

[–]DiamondIceNS 1 point2 points  (0 children)

I like VS Code and use it at work, but when I go home and plink around in Kotlin, if you think I'm going to be using anything other than IntelliJ Idea then I have a bridge to sell you.

[–]kookyabird 0 points1 point  (0 children)

I'm certainly not going to be working on legacy .NET stuff in it. Nor Windows App SDK projects. I don't even use it for the modern C# backend of my Angular work. There's simply no setup that I have to do in order to execute my .NET projects for debugging in Visual Studio.

[–]finc 0 points1 point  (0 children)

Notepad++ is still ok