News for hackers. Stuff that matters.
Re:Fleet, a Lightweight IDE from JetBrains by bearjaws on Monday November 29, 2021 @08:11AM (#29379431)
I love VS code, but insisting that its parsing is even nearly as good as anything from Jetbrains is laughable. Working with Rust in VS code is no where near as good as IntelliJ for example, and their Javascript `intellisense` is best in class.
Re:Fleet, a Lightweight IDE from JetBrains by aldanor on Monday November 29, 2021 @09:24AM (#29380163)
Agreed. Working with rust in e.g. CLion (or even the free PyCharm CE with Rust plug-in) beats vscode by a large margin, it's nowhere near comparable, especially when working with larger projects often requiring major refactoring etc.
Re:Fleet, a Lightweight IDE from JetBrains by GrayShade on Monday November 29, 2021 @03:11PM (#29384620)
Which Rust language server did you use?
Re:Fleet, a Lightweight IDE from JetBrains by aldanor on Monday November 29, 2021 @03:59PM (#29385204)
In vscode? Why RLS? rust-analyzer of course
Re:Fleet, a Lightweight IDE from JetBrains by GrayShade on Tuesday November 30, 2021 @01:44PM (#29395785)
Some people install RLS because they haven't heard about rust-analyzer. Anyway, debugging is out of scope, but try filing issues for any other problems you run into.
Re:Fleet, a Lightweight IDE from JetBrains by eklavya on Monday November 29, 2021 @11:43AM (#29381931)
Having used IntelliJ for a long time I would agree in all cases except rust and flutter. Flutter IntelliJ is not bad but rust analyser in vs code is miles ahead of IntelliJ rust.
Re:Fleet, a Lightweight IDE from JetBrains by zackangelo on Monday November 29, 2021 @03:11PM (#29384619)
Have you tried using rust-analyzer with VS Code? I find it to be a little rough around the edges but mostly pretty great. I used the Rust plugin for IntelliJ a couple of years ago and remembered being disappointed.
Re:Fleet, a Lightweight IDE from JetBrains by eropple on Monday November 29, 2021 @08:55AM (#29379881)
I've never used IDEA and friends for JavaScript. Are they not using the LSP?
Re:Fleet, a Lightweight IDE from JetBrains by ygra on Monday November 29, 2021 @09:05AM (#29379982)
They've historically done a lot of things on their own for JS. So perhaps VS Code + TS language server isn't quite on par with their JS tooling (which works a lot better with TypeScript type definitions, though, so perhaps it's just mostly the same as well).

However, what I personally hated was that there's so many squiggly underlined things ... in red, yellow, green and what other colors, each of which (regardless of color) could be either ignored or an actual error. Granted, that's how easy it is to properly check JS code for whether it does something sensible, but I didn't really find it helpful, especially because issue categorization and accuracy was so random.

Re:Fleet, a Lightweight IDE from JetBrains by jatone on Monday November 29, 2021 @09:18AM (#29380102)
> Granted, that's how easy it is to properly check JS code for whether it does something sensible

> especially because issue categorization and accuracy was so random

Stockholm syndrome is strong with this one. =)

the reason you didn't find the IDE suggestions helpful is exactly because of how difficult it is to reason about dynamic language code. the tooling is basically just guessing and expecting you to deal with the noise on the off chance it found something.

Re:Fleet, a Lightweight IDE from JetBrains by ygra on Monday November 29, 2021 @09:24AM (#29380162)
I've ended up deciding for myself to never write JS and instead using TypeScript. So far it's working well. I just couldn't really see all that random guessing by the IDE as an advantage. If the only way to figure out whether the code is broken is to run it, then it's pointless to guess potential problems on every single expression because dealing with those takes more time than just testing the code – or results in the developer completely ignoring all diagnostics.
Re:Fleet, a Lightweight IDE from JetBrains by GrayShade on Monday November 29, 2021 @03:11PM (#29384629)
Which Rust language server did you use in Code?