News for hackers. Stuff that matters.
Re:The type system is a programmer's best friend by constantcrying on Saturday November 05, 2022 @01:24PM (#33483502)
Vim is not really an editor. It is a way to edit text, you can use vim in almost any environment. You are also totally wrong about vim or emacs not having code completion, that is just nonsense.

I use (a version of) visual studio, the first thing that I did was installing a vim extension.

Also vim itself already supports almost any of these features with some basic plugins for the completion logic. If I type "." in my vim I get the same thing I would in visual studio. If you are saying "vim is bad because it lacks X IDE feature" you are missing the point.

Re:The type system is a programmer's best friend by Our_Benefactors on Saturday November 05, 2022 @03:57PM (#33485019)
Vim: I can do that too, I swear! Just configure some plugins, can’t tell you what they might be though. But I’m turing complete, and I’m the best!

VScode: Of course I can do autocomplete bud. Here, search my package repo, I’ll tell you which plug-ins are the most popular and handle the entire download and install process for you.

There’s no comparison.

Re:The type system is a programmer's best friend by yellowapple on Saturday November 05, 2022 @04:34PM (#33485377)
Visual Studio: Of course I can autocomplete! Hold my beer while I bring your machine with 16 cores and 64GB of RAM to its knees for multiple minutes ;)
Re:The type system is a programmer's best friend by Our_Benefactors on Saturday November 05, 2022 @04:43PM (#33485475)
This is just false. Does it have a higher memory/cpu footprint than vim? Sure. But VScode is plenty performant.
Re:The type system is a programmer's best friend by yellowapple on Saturday November 05, 2022 @05:04PM (#33485722)
VSCode != Visual Studio
Re:The type system is a programmer's best friend by nmarinov on Saturday November 05, 2022 @06:50PM (#33486771)
Have you tried the latest couple of releases?

I used to have that issue 5 years ago but since then it opens under 5 seconds and loads the solutions I need for not much more. Currently using it on a cheapish recent windows laptop but even on a 8gb x220 it works fine, just loads for 30 sec in the beginning and then it's smooth.

Granted I'm only opening .net solutions with under 100 projects each but anything above that is unnecessarily more difficult to navigate with just vim.

And in my experience VSCode is many times slower than Visual Studio on the same projects. None of them are as fast as barebones sublime or vim on an m1 mac but when I load the latter with plugins it's not a huge difference.

Re:The type system is a programmer's best friend by constantcrying on Saturday November 05, 2022 @04:05PM (#33485093)
Why do you even reply to a post that you didn't bother to read? VScode is a neovim frontend.

>There’s no comparison.

Read the first line of my post. There literally is no comparison, because there is a category error.

Re:The type system is a programmer's best friend by Our_Benefactors on Saturday November 05, 2022 @04:13PM (#33485169)
> Why do you even reply to a post that you didn't bother to read? VScode is a neovim frontend.

I did read your post Mr. snark.

> There literally is no comparison, because there is a category error.

Pure pedantry. VScode takes far less effort to get a high quality feature set when compared to vim. That’s the only point of debate that matters for most people.

Re:The type system is a programmer's best friend by za3faran on Saturday November 05, 2022 @04:44PM (#33485489)
I think OP wanted to make a categorical difference between vim-the-editor vs vim-motions. The latter of which are supported in all major IDEs as plugins/extensions.
Re:The type system is a programmer's best friend by aidos on Saturday November 05, 2022 @08:34PM (#33487465)
They’re different experiences for users with different priorities.

Your priority is evidently ease of configuration, VScode is definitely easier out of the box - there is no comparison.

My priority is hackabilty for streamlined editing and code navigation. Here neovim run circles around vscode.

Neither is “right”, just different preferences. Note that I’m not here to tell you my editor is better, I personally enjoy using it more, and that’s enough for me.

Re:The type system is a programmer's best friend by throwaway675309 on Sunday November 06, 2022 @01:40AM (#33489482)
"My priority is hackabilty for streamlined editing and code navigation. Here neovim run circles around vscode."

I hear this line a lot from hard-core vim users, but it's always talked about in the general. I'd like to hear a specific use case and exact scenario where a common workflow is faster in neovim over a more full featured IDE like JetBrains or Visual Studio.

Re:The type system is a programmer's best friend by aidos on Sunday November 06, 2022 @05:21AM (#33491077)
Little mini example in terms of LSP behaviour is fixing this bug:

https://github.com/microsoft/TypeScript/issues/37816

I edit the results of gotoDefinition on the way through so I always jump to the one I want.