this post was submitted on 12 Aug 2023
426 points (95.9% liked)

Asklemmy

42493 readers
1422 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 107 points 10 months ago* (last edited 10 months ago) (3 children)

The Jetbrains suite of IDE's. Particularly Jetbrains Rider. The platform ~~they are all ~~ many of them are built on is open source though, and you can get free licenses for all of their products if you are using them to develop open source software!

[–] [email protected] 13 points 10 months ago

DataGrip is the one JetBrains IDE I can’t work without and continue to pay for. I’d love to find a pure OSS alternative, but there’s nothing else like it.

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

It's fucking open source?????? Does that me we can build from source to have it for free?

I have the last version you can use free forever (and I'm the reason they fixed it, by the way)

[–] [email protected] 10 points 10 months ago

The underlying intelliJ platform is, not the entire IDE. I did edit the post though, as I realized not all of them are built on that platform.

If you are working on open source, you can still grab free licenses. You just have to renew them each year (completely free, just requires proof of FOSS contribution)

[–] [email protected] 0 points 10 months ago (2 children)

Why do you find jetbrains better than VS Code?

[–] [email protected] 49 points 10 months ago (2 children)

Not OP, but everything? It’s a far more complete solution with far more capabilities. It can be compared to full VS, not Code, IMO.

[–] [email protected] 2 points 10 months ago (3 children)

are there any good open source alternatives for VSCode for people that don't want to learn emacs/vim? I've been looking for a good code editor to replace it but I haven't been impressed elsewhere

[–] [email protected] 12 points 10 months ago

VSCode is open (MIT) but it is packaged by MS to include some tracking/telemetry and they are distributed under a non-free license.

You can use VSCodium for a telemetry free and MIT licensed binary or you are free to build the source where the default config is no telemetry and MIT license.

[–] [email protected] 4 points 10 months ago

I think VSCode(ium) is the OSS alternative? If you want OSS, it's the way to go.

[–] [email protected] 2 points 10 months ago

There is always Eclipse IDE. It's not as polished as Jetbrain's apps for sure but it's still very capable. It's published under the Eclipse Public License. I think the language server code that's used in VSCode is from Eclipse, it can be used for developing many languages and there are lots of plugins and other add-ons to enhance the experience.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago) (1 children)

But to be fair, the plugin capabilities for VS code are incredible. Of course its a lot more work but you can pretty much replicate the VS experience

[–] [email protected] 11 points 10 months ago (1 children)

Refactoring and code cleanup utilities in Rider are exceptional right now. And that's not small. It's massive in value.

Don't get me wrong, I want codium to have this, but the extensions that compare, especially for .net, are not in the same league.

[–] [email protected] 2 points 10 months ago (1 children)

Sounds like I should give rider another try. Doing a lot of refactoring right now

[–] [email protected] 2 points 10 months ago (1 children)

If you don't need cross platform support, there's also full vs with R#, but I prefer rider for the performance.

[–] [email protected] 2 points 10 months ago

Yeah. My work machine is Windows and I haven't even installed vs. Rider is just superior for the vast majority of .net work.

Msft needs to realize that they no longer own the best ide for their stack and do something to improve the .net vs code experience. That recent c# plugin needs a lot more power.

[–] [email protected] 25 points 10 months ago (1 children)

VS Code is not an IDE. There's no comparison.

[–] [email protected] 6 points 10 months ago (2 children)

That's a bit of a silly statement. Once you've installed a few extensions for your language (a language server and linting at minimum), it is effectively an IDE with a reasonably powerful debugger included. Just because it's modular and not "batteries included" doesn't make it incomparable.

[–] [email protected] 13 points 10 months ago (1 children)

Have you ever used JetBrains products for any serious development?

[–] [email protected] 4 points 10 months ago* (last edited 10 months ago)

Yes, I've made heavy use of PyCharm, IntelliJ and Datagrip and I'm a huge fan of them all.

[–] [email protected] 2 points 10 months ago (1 children)

Microsoft straight up says it’s not an IDE.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

Sure. But I didn't say it was either. I only pointed out that it's silly to say "there's no comparison", when most functionality is easily achievable on both. And depending on language, it's not even difficult.

Edit: In fairness, I did say "it's effectively an IDE", but I stand by the point that after a few extensions - what is the difference? If I can debug, refactor, and and get complete intellisense (including finding declarations etc), I'm doing more or less everything I would in a dedicated IDE.

Edit 2: I feel I've gone to far the other way. I have used am am aware of some of the capabilities that a fill fledged IDE has over something like VSCode. Especially for languages like those of the C-family. But I do take issue with implying they're not comparable. For many usecases and languages, they're totally comparable.

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

I guess it depends on your goals. I install Intellij, or WebStorm, or PyCharm, or RubyMine, and I get a working environment right out of the box. I don't have to figure out what functionality is missing, then go search for the most maintained and up to date plugin, hoping that it has all the features I need. It just works. I use VS Code a lot, every day, but it's sorely lacking, even with all of the plugins it has, in basic stuff like refactoring an entire codebase, or just regular old code cleanup. I'll give a few examples, they might have equivalents in the vs code ecosystem, but I have not been able to find them.

  1. Inspect Code

In JB products I can choose Code > Inspect Code, from the menu bar, and have it show everything wrong with the project, including code that is never hit, code that is duplicated, Control Flow issues, Data Flow issues, typos, probable bugs, Security issues (including in your dependencies), migration aids, the list goes on and on and on. And it doesn't just do it for one language in your repo, it does it for every file type. So you don't have to install a plugin that finds security issues in your poms, and then one that finds them in package.json, and then another for your gemfile, etc.

  1. Structural Search and Replace

This one is quite hard to describe, so I'll let the intellij docs explain it for me. https://www.jetbrains.com/help/idea/structural-search-and-replace.html

A conventional search process does not take into account the syntax and semantics of the source code. Even if you use regular expressions, IntelliJ IDEA still treats your code as a regular text. The structural search and replace (SSR) actions let you search for a particular code pattern or grammatical construct in your code considering your code structure.

IntelliJ IDEA finds and replaces fragments of source code, based on the search templates that you create and conditions you apply.

There are a ton of things that I can't find equivalents for in VS Code, but these are two major ones.

[–] [email protected] 2 points 10 months ago

It's that's fine that you've got some examples of features that are more powerful in JB products. It would be a great shame if such a heavy and reasonably expensive program didn't.

But I'm not arguing that VS Code is better or worse. I'm arguing that it is comparable (on the sense that it is worth of comparison). Which it is.

I agree that JB's search is fantastic. Unmatched perhaps. All of that indexing it does when you open a project really pays off.

But you can get a lot of JB's functionality in VS Code. You can get a very good code inspection in several languages, Python being the premier example. You can also get excellent docker integration, excellent linting, a reasonable search and replace across all files, and a top notch debugging experience for some languages (Python being the premier example again).

Sure JB products do some of that stuff better (at the cost of being heavier programs with significant start up time).

I use both. I like both. I believe VS Code is very formidable and could be the sole editor a developer uses flr many types of projects (Web Development, Python projects, many Go projects too all come to mind).