News for hackers. Stuff that matters.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by nigamanth on Wednesday December 21, 2022 @06:11AM (#34079152)
JetBrains gives products in very niche areas. WebStorm for JS, PHPStorm for PHP, RubyMine for Ruby, and GoLand for GoLang.

Visual Studio Code is used by people who like to many languages, but more specifically for someone who's job is to work with JavaScript then WebStorm is much better. JetBrains could very well combine all these IDEs into one, but then again think about the amount of space and data of this new IDE.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by rzzzt on Wednesday December 21, 2022 @06:13AM (#34079167)
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by wolletd on Wednesday December 21, 2022 @06:40AM (#34079358)
I've seen Fleet in my JB Toolbox, but haven't touched it yet.

But it is the obvious move. All the current JB IDEs are built upon the same basic IntelliJ platform, anyway.

It's "only" a matter of restructuring all that to have only one IDE where you can opt-in to support specific languages and now you have something like VSCode.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by vladvasiliu on Wednesday December 21, 2022 @07:47AM (#34080011)
You already have that with Idea, with a few exceptions (C/C++, and possibly C#).

You can install the Python plugin & friends -> PyCharm

You can install the Go plugin -> Goland

Etc

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by notpushkin on Wednesday December 21, 2022 @09:28AM (#34081121)
I'm not sure why, but nobody I know uses this setup – everybody has 2–3 separate IDEs (one for backend, one for frontend etc).

The initial reason behind having separate IDEs for every language, or so I was told, was using different keybindings. This way, XCode users could easily switch to AppCode, Visual Studio users – to Rider etc. – without the need to re-learn anything. (This is the reason I still have Atom keybindings in my Codium setup.)

But why would anyone want to use different IDEs with different keybindings is a complete mystery to me.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by ilikehurdles on Wednesday December 21, 2022 @09:37AM (#34081236)
That’s absurd! I’ve used the same IDEA Ultimate instance for all languages I touch. Often 3 in the same project. Haven’t seen the point of having separate IDEA/Webstorm/Pycharm instances when one delivers all the functionality of the others.

I’m looking forward to Fleet, watching it closely. But it still has some kinks preventing me from adopting it. Once they polish up the elixir-ls integration I’ll give it a serious shot.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by abhijat on Wednesday December 21, 2022 @09:51AM (#34081407)
I may be mistaken but AFAIK plugins are not always at feature parity with the full jetbrains IDEs. For example the rust plugin in intellij did not support debugging but the one in CLion did (I think this is fixed now).

The python plugin in intellij was a little inferior to Pycharm for Django (pycharm had deeper support for the django ORM) and so on.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by vladvasiliu on Wednesday December 21, 2022 @01:50PM (#34084713)
I think the reason for the difference between clion and idea for the rust plugin is that clion seems somehow different "on a lower level". It still has support for profiling and valgrind, which Idea lacks [0].

Regarding Django, do you have some examples? I'm admittedly not a hardcore Django user, but I haven't seen any difference between the two.

[0] https://github.com/intellij-rust/intellij-rust#compatible-id...

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by Aaron2222 on Thursday December 22, 2022 @01:58AM (#34090633)
CLion isn't the best comparison here, as there are some architectural differences between CLion and the other IDES (IntelliJ, PyCharm, WebStorm, etc), which is the reason there isn't a C/C++ plugin for IntelliJ.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by iudqnolq on Wednesday December 21, 2022 @12:00PM (#34083228)
Like my sibling described there are weird quirks. The bigger problem is that this isn't a well documented and supported path. And if you wanted to spend time fiddling with my IDE you wouldn't be using Jetbrains.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by j-krieger on Wednesday December 21, 2022 @01:21PM (#34084344)
This is only for most surface level features. The Idea PyCharm plugins lack scientific mode for example.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by vladvasiliu on Wednesday December 21, 2022 @01:59PM (#34084824)
What do you mean by "scientific modes"? Jupyter notebooks?

I've never used that, so I don't know what it is exactly nor how to compare. But, although the product comparison page [0] says idea lacks it, there's a doc page that says it has it [1]. It also shows up in the settings window of my IdeaU with Python plugin.

According to this other comparison page [2], it would actually seem that the Idea plugin does more than Pycharm.

[0] https://www.jetbrains.com/products/compare/?product=idea&pro...

[1] https://www.jetbrains.com/help/idea/jupyter-notebook-support...

[2] https://youtrack.jetbrains.com/articles/PY-A-44237640

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by j-krieger on Thursday December 22, 2022 @06:05AM (#34092162)
No, scientific mode means you can have PyCharm show dataframes like tables or all available plots even without working in a JPN
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by chronofar on Wednesday December 21, 2022 @06:35AM (#34079311)
Aside from the newly introduced Fleet the other commenter pointed out, Jetbrains' IDEA Ultimate can include all the functionality of all the individual niche products (via plugins), so you could just use a single Jetbrains IDE for most any language/flow you choose. I personally kind of like to keep them separate so I can keep different envs configured the way I most often use them, but you could just use the single IDE for all.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by brabel on Wednesday December 21, 2022 @07:22AM (#34079726)
Can confirm... IDEA Ultimate (and Community to a lesser extent) lets me write code in Java, Groovy, Kotlin (and with slightly fewer features, but still really good support), Go, Rust, JavaScript, TypeScript, and of course, HTML/CSS... probably more but those are what I normally use.

VS Code is getting support for all the newer languages though... similar to how it used to be before with Eclipse (for those who remember the multitude of Eclipse-based IDEs for niche uses in the 2000's) and emacs (which still gets support for most esoteric langs, even if half baked, pretty quickly)... for example, I can use Zig in both emacs and VS Code, but not IntelliJ (I think they are writing one , but it was really unusable when I last checked it out). And stuff like Julia, Common Lisp.... I tend to go to emacs for those... but apparently supporting VS Code is high priority for even these languages nowadays.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by jmnicolas on Wednesday December 21, 2022 @06:16PM (#34087666)
I wonder how do you manage so my languages without getting confused?
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by brabel on Thursday December 22, 2022 @01:30PM (#34096677)
I don't use them all at the same time :D sometimes I might go for months without touching some of them but I always find an excuse to go back so I don't lose the knowledge. No particular reason to try to keep up with many languages, I just enjoy it.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by Cthulhu_ on Wednesday December 21, 2022 @08:06AM (#34080203)
I thought it was weird when Jetbrains started to split up their product into language-specific products, but given how many people say they use WebStorm or an other niche product, and who say they use multiple, I can't blame Jetbrains - I think that in hindsight it was a great business move. An expensive "I can do everything" product has a higher barrier to entry than a specialized product.

Personally I've been using Ultimate on and off over the years, since I've never really stuck to any one language; at my previous job it was a mix of PHP / JS (Dojo), Go, Typescript, and sometimes (reading) C code which didn't quite work right in Ultimate.

VS Code can do all that too, but only intellij was able to actually help me with stuff - things like set the version of PHP to 5.2 so it warns me if I tried to use the PHP 5.3 array shorthand. (I did not choose PHP by the way and the project was to replace it)

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by mdaniel on Wednesday December 21, 2022 @01:42PM (#34084598)
> I thought it was weird when Jetbrains started to split up their product into language-specific products

They're for different audiences; the hurdle of trying to explain to a JS dev "yeah, I know when it starts up it asks for a Maven/Gradle/JVM, but just ignore that and open a directory after you install the following 8 plugins" is bad DX. As others have said, the standalone products are not feature parity with the IJ plugins. I have no idea why that is, or what incentives are driving that, but for the time being it is what it is

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by jmnicolas on Wednesday December 21, 2022 @06:19PM (#34087687)
> the standalone products are not feature parity with the IJ plugins.

Probably to sell their more expensive "all access pass" instead of just one IDE that does everything.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by pjmlp on Wednesday December 21, 2022 @08:22AM (#34080368)
No you can't, because JetBrains refuses to have Clion plugins into InteliJ, it is the only Java IDE that doesn't support mixed language development.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by perrylaj on Wednesday December 21, 2022 @11:41AM (#34082955)
C/C++ is only 'one language' (I know, but for sake of this discussion, may as well be), and even then, Intellij does just fine for me, even if it's not on par with Clion. To say it doesn't support mixed language development is silly. In one sizeable project I have python, js, TS, kotlin, Java, bash, groovy, even a little C. All of it works in Intellij ultimate with code completion, refactoring, goto definition, find usages, etc. And it does it does better and faster than the same project when attempting to use VSCode. VSCode starts getting real slow trying to find references and whatnot on significant size projects, and the refactoring is night and day better in Intellij.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by pjmlp on Wednesday December 21, 2022 @02:10PM (#34084973)
Since when does InteliJ support JNI debugging?!?

Android Studio's C++ support is done by Google's own licensed CLion for integrating it into a proper development experience.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bastawhiz on Wednesday December 21, 2022 @08:28AM (#34080442)
> Visual Studio Code is used by people who like to many languages

I don't like these language. I'm forced to write them. I didn't ask for terraform, typescript, CSS, HTML, yaml, xml, JSON, and everything else.

> for someone who's job is to work with JavaScript then WebStorm is much better

It's never been my experience that a full IDE is better for dynamic interpreted languages. Maybe if you're used to that from writing C# or Java it's nice, but I'll sooner take vi.

But like you said, thanks to lots of people that came before me, I'm not just writing one language, I'm writing many. Right now, I have tabs open with eight different languages. I need something that's suitable at everything, not just one language.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by lallysingh on Wednesday December 21, 2022 @09:20AM (#34081031)
Try pycharm. It does fantastic error checking that you'd normally need to test the code for. For example, it will infer types for variables and then highlight lines that will cause problems at runtime. It's saved me days of testing the first week I used it.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bastawhiz on Wednesday December 21, 2022 @09:37AM (#34081240)
I already use mypy with vscode for Python. The type checker is the same one that runs in CI.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by whimsicalism on Wednesday December 21, 2022 @10:47AM (#34082167)
Sorry, what happened to `vi`?
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by yjftsjthsd-h on Wednesday December 21, 2022 @11:30AM (#34082793)
Nothing? It's a good text editor, but it's not an IDE
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bastawhiz on Wednesday December 21, 2022 @03:35PM (#34086047)
I use it when it makes sense. My point is that on the spectrum of IDE <--> text editor, I'd much rather take the text editor than the IDE. The performance and ease of use of a simple text editor vastly dominates whatever convenience(s) the IDE claims to provide. Vscode is my usually my daily driver, as it's fast, has effective built-in refactoring tools, and has a decent plugin ecosystem.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by hackertyper69 on Wednesday December 21, 2022 @12:27PM (#34083585)
does pycharm work with C++ and VHDL?
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by lallysingh on Wednesday December 21, 2022 @01:46PM (#34084659)
No, it's python-specific. I was responding to parent's remark on dynamic languages. C++ is reasonably well served by CLion. I don't know what works for VHDL.
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by dmitriid on Wednesday December 21, 2022 @10:56AM (#34082318)
> It's never been my experience that a full IDE is better for dynamic interpreted languages.

IntelliJ IDEs are very good at figuring out dynamic languages, but on top of that they also know a lot of tooling and frameworks. So even if you have dynamic Python, but use it in Django, IDEA/PyCharm will be able to give you completions, code navigation, and refactoring just by the virtue of knowing what goes where in Django.

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bastawhiz on Wednesday December 21, 2022 @03:29PM (#34085993)
I get that from vscode and pylance/mypy already. I get the same thing with vscode and sorbet for Ruby. Why would I go through all the trouble of using IntelliJ for that?
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by dmitriid on Wednesday December 21, 2022 @05:16PM (#34087129)
For everything listed in the "Working with source code" menu: https://www.jetbrains.com/help/pycharm/working-with-source-c... (and others like https://www.jetbrains.com/help/pycharm/web-frameworks.html)

Some of it made its way into VS Code, but many things definitely didn't (because they require more than just LSP and reuire someone to write a bunch of analysis tools for the python integration).

Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by j-krieger on Wednesday December 21, 2022 @01:22PM (#34084352)
Have you ever tried .NET?
Re:Gitlab Web IDE Beta, Powered by Visual Studio Code by bastawhiz on Wednesday December 21, 2022 @03:30PM (#34086005)
I grew up writing VB6 and moved to VS .Net 2003. In college I happily wrote C# in vim.