this post was submitted on 22 Jul 2024
104 points (92.6% liked)

Programming

17001 readers
262 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
104
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

I have not used an IDE since I ditched Turbo Pascal in middle school, but now I am at a place where everyone and their mother uses VS Code and so I'm giving it a shot.

The thing is, I'm finding the "just works" mantra is not true at all. Nothing is working out of the box. And then for each separate extension I have to figure out how to fix it. Or I just give up and circumvent it by using the terminal.

What's even the point then?

IDK maybe its a matter of getting used to something new, but I was doing fine with just vim and tmux.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 month ago

I use jetbrains' PyCharm. Work paid for it. It does the things I want it to do (works with docker, git integration, local history, syntax highlighting for every language I use, refactor:rename and move, safe delete, find usages,.find declaration, view library code, database integration, other stuff I'm forgetting)

[–] [email protected] 4 points 1 month ago

Hell no, Emacs and nvim UX is far superior. I won't ever go back to clicking.

[–] [email protected] 3 points 1 month ago

What's even the point then?

The point is that you can enable each separate extension you want running on your code editor or uninstall them if you're unsatisfied. This makes it as light as you want it to be - or as heavy as you need it to.

I was doing fine with just vim and tmux

VSCode is like vim without vim controls and in a browser. Seen that way, it makes more sense. With Vim, you have to hunt for obscure Github repositories and follow arcane installation instructions for hidden extensions that you may or may not need and you have to learn a whole-ass keyboard-shortcut-based programming language just to use any of it.

With VSCode, you click on Extensions, search what you want and it'll probably be there unless it's a toxic ecosystem like PHP/C# or some niche ecosystem that no one heard about.

[–] [email protected] 3 points 1 month ago

I only use vscodium for things that are not that well supported by neovim, in my case it's only Scala basically, but I guess I'm just to lazy to properly configure metals. I use Sway as my desktop and I don't want to go into configuring DPI just for vscodium or switch to gnome to not ruin my vision even further when using it. This is what I like about terminal-based editors - the whole Ui scales with a single key combination. Speaking of which I also consider the combinations provided by many Neovim "distributions" (and my workflow ;p) way more ergonomic than emacs-y finger gymnastics of vscode and the likes, since I just hit the space twice and type a command alias without moving my fingers from where they should be on the keyboard instead of memorizing gazillion combinations working little by little towards giving me a carpal tunnel.

[–] [email protected] 3 points 1 month ago (1 children)

Been using vim+tmux for the last 8 years and still going strong. Wouldn't ever give it up. Vscode's pretty lackluster in comparison.

[–] [email protected] 4 points 1 month ago (1 children)

What's the tech stack you work with with that setup?

[–] [email protected] 2 points 1 month ago

Last 3 years has been working on large backend web services in Haskell and Postgres, with some shell scripting thrown in here and there.

Before that, it was a mix of Python, Typescript (React), Rust, and C++.

[–] [email protected] 3 points 1 month ago

It's good for new, unrelated stuff. For example if you're just starting to work with python, or just want to test some project, its much easier to setup than nvim or emacs. I also like intellij idea. I think in terms of just works, it is much better. But it is more resource intensive

[–] [email protected] 3 points 1 month ago

I tried using VS Code but the fact that it's not fully open source (VSCodium has limitations) bothers me a lot, as does the presence of telemetry.

I like some of the convenience features, like having a file picker when you're writing paths, my students use it a lot, but I'm sticking with Kate.

[–] [email protected] 2 points 1 month ago

VS Code is a highly configurable editor that can get really close to being like an IDE, but you should really check out the Jetbrains IDEs. Best in class for just about every language they support.

[–] [email protected] 2 points 1 month ago

No way. I'm happy about the stuff it brought (LSP, remote debugging protocol, maybe other stuff), but VSCode itself is just not good enough and always takes a bunch of configuration to get working. It's better than neovim, that's for sure.

If there were an opensource IDE with a GUI (not TUI) that didn't use web rendering to draw its interface, worked on Linux, weren't bought by yet another tech-overlord, and were comparable to a Jetbrains IDE, there's a good chance it'd get my money. Until then, it's Jetbrains for me. I hope they never go public.

Anti Commercial-AI license

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (2 children)

Do not use Microsofts Telemetry Studio Code but Code-OSS or VSCodium.

See: https://github.com/VSCodium/vscodium/issues/267

Regarding your question Code is not powerful enough of what we do at work. There we use IntelliJ IDEA. Our frontend guys use Code as it's enough for them and they usually are not that quality oriented, be it their tools or their product. Sadly mediocre is enough.

[–] [email protected] 2 points 1 month ago

could you give a couple examples of how vscode degrades quality?

load more comments (1 replies)
[–] atzanteol 2 points 1 month ago

No, it was far too "fiddly" and I have no problem with the performance of full ides from jetbrains.

[–] [email protected] 2 points 1 month ago

Sublime Text with plugins. It's 100% because it's what I'm used to.

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

I do a lot of c++ and c# stuff. That feature where it opens a list of all the member functions and or variables of a given class or data type, the part where it underlines incorrect code as well as the thing that adds tooltip type documentation with comments to everything you hover your mouse over is invaluable.

The idea that there are people who program without that type of thing blows my mind. I can't just memorize the entire code base myself 🤷 if I had to search the source code to verify every little thing every single time, it would take ages to get anything done.

I only use Linux and I don't know what I'll do when Microsoft eventually takes vs code away from us, whether by making it paid or dropping linux compatibility. I guess I'll have to pirate the jetbrains software or something.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

I use vscode as I develop this model in Scala3, whose language-server 'metals' integrates well with vscode, and when scala3 was new in mid-21 this was the platform they first targeted. But the scala command-line tools do the clever analysis, vscode provides the layout, colours, git integration, search/regex, web-preview etc.. Now considering other options (eg zed) as vscode too dependent on potentially unsafe extensions (of which too much choice), also don't want M$ scraping my code. Long ago when same model was in java I used netbeans, then eclipse. Would prefer a pure-scala toolset.

[–] [email protected] 1 points 1 month ago

I use neovim, with my own built configs. You can literally configurate/program everything in your editor.

I'd say that IDEs are becoming less and less common these days. Vscode is definitely the most popular editor, but through the language server protocol, we have more options than there used to be.

Personalized Development Environments (PDE) are becoming more common. Vscode is one to a lesser extend (it's just a text editor if you don't add extensions), but in my opinion, neovim definitely does this best by far.

It's been some time, but I remember my confusion when I was an amateur and hardly knew the difference between visual studio and vscode. I agree it can be very confusing at the start. Just go get the extension for that programming language or framework and you should be fine. Or maybe ask your colleagues, as they use it already.

If you want a real idea, her brains products are probably best, many of them have a community version, but see about getting a license if you need it.

[–] [email protected] 0 points 1 month ago

I use neovim. But if I had to choose between vscode vs. JetBrains stuff, I much rather vscode. It's far cleaner.

[–] [email protected] 0 points 1 month ago* (last edited 1 month ago) (4 children)

I agree, thought Atom was kind of a fun text editor but silly for being an entire Chrome browser, then it mutated into this intentionally held back IDE where not even developing PowerShell or C# can be done without mucking about first.

There is barely any functionality without add-ins but not because they want to keep the base program light. And it siphons all the data it can get, of course.

It's pretty clear to me that they don't want it to be better than Visual Studio proper, so you don't get a sane menu structure or out of the box functionality. Microsoft made an editor that is somehow more opaque and unintuitive than vi, not because of necessity or for practicality reasons but because it has to be different from the flagship product.

I'd much rather work with Spyder, Netbeans or Eclipse. Or some Jetbrains product. Or Notepad3 + Terminal and a browser.

load more comments (4 replies)
load more comments
view more: ‹ prev next ›