this post was submitted on 30 Nov 2021
19 points (95.2% liked)

General Programming Discussion

7799 readers
9 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

There is a recent post about the new JetBrains Fleet IDE, but of course it is sadly not open source.

What is your favourite IDE? (Or compiler, language, framework, anything: just share your experience and knowledge)

I'll start:

all 33 comments
sorted by: hot top controversial new old
[–] blank_sl8@lemmy.ml 10 points 2 years ago (1 children)
[–] savoy@lemmygrad.ml 8 points 2 years ago (1 children)

It's technically not an IDE, but neovim. With the built-in LSP, treesitter, and paired with tmux, it's more powerful than any IDE. Plus a lot lighter and you never have to leave the comfy confines of your terminal

[–] k_o_t@lemmy.ml 1 points 2 years ago* (last edited 2 years ago) (1 children)

yoo, could you share your treesitter config file?

after tinkering around with treesitter, at some point i broke it accidentally, and i can't return to the previous iteration 🤷‍♀️

[–] savoy@lemmygrad.ml 1 points 2 years ago

I don't have my dotfiles public quite yet (on my list) but here's my neovim config. It's kind of a mess of looking up others and from the docs, but it works. I've only recently moved to neovim's built-in LSP (was previously using coc.vim and ALE) so I doubt it's perfect but I haven't had any issue yet!

https://pastebin.com/2AZKJM3D

[–] dessalines@lemmy.ml 8 points 2 years ago (2 children)

Vim or neovim, and coc.nvim. It turns vim into a full ide for nearly every language.

[–] tmpod 5 points 2 years ago (1 children)

coc is nice, but I'm super excited for the neovim LSP stuff that is being developed. They are already nice, but not on par with integrations on VSC and the likes.

[–] powerbling@lemmy.ml 1 points 2 years ago
[–] 0x90@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (1 children)

I really would like to try it, but I have no idea how to install coc on vim.

I only know the basic usage commands, and I have never installed any plugin so I have no idea how to do it

[–] dessalines@lemmy.ml 1 points 2 years ago

Get a vim distribution that makes plugin installs easy. I use vimrc, and it has instructions for where to clone plugins.

[–] stopit@lemmy.ml 7 points 2 years ago
[–] AgreeableLandscape@lemmy.ml 6 points 2 years ago* (last edited 2 years ago)

For most things, VSCodium. A completely FOSS fork of Visual Studio Code.

Intellij Community Edition for Java and Kotlin. I'm actually eligible to get any Jetbrains paid IDE for free through my university, but I still stick to the FOSS versions out of principle.

[–] kir0ul@lemmy.ml 5 points 2 years ago (1 children)
[–] sacredbirdman@lemmy.ml 3 points 2 years ago

That's been my weapon of choice for a couple of years as well. It's already quite snappy but running doom on nativecomp-enabled Emacs made it even more so :)

[–] KSPAtlas@lemmy.ml 5 points 2 years ago

vim / emacs, depends what I'm doing

[–] yogthos@lemmy.ml 4 points 2 years ago

I really like IntelliJ, and I find their open source version does everything I need. Had zero excitement about Fleet with it being closed source and cloud based.

[–] ttmrichter@lemmy.ml 3 points 2 years ago (1 children)

A shell. Textadept. Some version of gdb.

[–] esi@lemmy.ml 1 points 2 years ago (1 children)

Oh I actually tried out Textadept a year ago or so and was really interested. Haven't gotten time to dive more into it but something about it fascinates me. Do you mind telling me more how you use it? and for what? <3

[–] ttmrichter@lemmy.ml 2 points 2 years ago (1 children)

It's my default text editor now, for any language. (Vim is my backup editor for situations like sshing into a system that doesn't have Textadept installed since Vim is usually installed and if not that, at least vi is.)

My main reason for switching over to it finally was the ease in which new languages can be added to its support. I program in a lot of ... uncommon languages. Languages which lack representation in lexical coloration in editors (SNOBOL4, say, or Rexx, or Logtalk) or which, when "supported" are done so lousily it may be better not to use it at all. With Textadept I can whip up basic lexical coloration without breaking a sweat (usually under an hour barring weirdness like SNOBOL4's) and can do fancy tricks like having a separate lexer for each dialect of a language (SWI-Prolog vs. GNU Prolog, for example) without a whole lot more work. Further I can trivially handle embedded languages (like SQL embedded in C or separate the coloration of the Java and HTML components in a JSP page) and, even more fun, I can inherit lexers.

For an example of that last item, my Logtalk lexer is basically all of my Prolog lexers (complete with the dialect switches) with the Logtalk extras layered on top, so although Logtalk is a more complicated language than Prolog, lexically speaking (it's all of Prolog plus more), my Logtalk lexer is about 20% of the size of my Prolog lexer. And if I fix a mistake in my Prolog lexer, or enhance it in some way, my Logtalk lexer comes along for the ride.

I've not seen any text editor that comes close to that degree of lexical coloration support, and its support for snippets, tagging, folding, etc. is also nigh-on best of breed.

[–] esi@lemmy.ml 3 points 2 years ago

wow. TextAdept sounds way cooler than I initially thought. And I thought it was pretty awesome to begin with.

Thank you for this writeup.

[–] Echedenyan@lemmy.ml 2 points 2 years ago

MonoDevelop got archived in October 4 of this year since a whole year without development.

I recommend Eclipse with "aCute" set of tools from the Eclipse Marketplace.

[–] basiliscos@lemmy.ml 2 points 2 years ago

qtcreator is nice one. I use it for my daily c++ and perl coding.

[–] DPUGT@lemmy.ml 2 points 2 years ago

I least-hate VS Code. I most-hate Visual Studio, followed closely by everything else.

But if I wanted to torture a resurrected Adolf Hitler forced to write code as punishment, I think I might have him use Delphi 7 on Windows 10. If somehow he ever got used to it, there are several Delphi report plugins we could foist on him to crank the agony up a few quadrillionfold. Delphi is so hellish it belongs on no spectrum of best-to-worst IDEs. It sits beyond the rest. Out past the rest of the visible universe, in the cold dark, a million degrees below absolute zero.

[–] HassanGamer@lemmy.ml 1 points 2 years ago (1 children)
[–] Helix@feddit.de 6 points 2 years ago

vscodium is even greater

[–] robb@lemmy.ml 1 points 2 years ago

I really like JetBrains' IDEs. Using IntelliJ (Java and LaTeX), PyCharm and WebStorm (Javascript). Also trying out DataSpell for Jupyter Notebook work. Seems to be fine and stable. Their software looks a bit overwhelming at first, but after some use I realized that it's sane. Gets out of the way when I need to work away and have access to powerful tools. And I use vim for quick edits.

[–] LIESGREEDMISERY@lemmy.ml 0 points 2 years ago

GNOME Builder is nice. But I rarely use it. I'm more often writing on Neovim, Atom, and mostly within Godot editor itself if I'm working with Godot/gdscript.

[–] lunatichacker@lemmy.ml 0 points 2 years ago

Fleet looks promising as long as it has basic plugin support I will use it even if it's not opensource

[–] gun@lemmy.ml 0 points 2 years ago (2 children)

I don't like to use IDEs, but I love using VS Code

[–] HexbearShill@lemmy.ml 2 points 2 years ago

Yeah VS Code plug-ins are plentiful. I can’t stand having a different text editor for every language

[–] ttmrichter@lemmy.ml 0 points 2 years ago (1 children)

How is VS Code not an IDE?!

[–] gun@lemmy.ml 0 points 2 years ago

I don't feel like explaining it in depth tbh, so there's this comment thread.
https://www.reddit.com/r/learnprogramming/comments/nmliyu/comment/gzpl1k4/?utm_source=share&utm_medium=web2x&context=3
The reason why I would not call it an IDE is that it is designed as a lightweight code editor first. The build/debug environment is not integrated, you can keep things separated, which is what I like about it. If you want an integrated environment, VS code lets you integrate it yourself because it is extensible. The power you get from VS code's extensibility makes it seem like an IDE at times, but it is clearly a different beast entirely when you compare it to Visual Studio IDE.

[–] brombek@lemmy.ml 0 points 2 years ago

I use Linux as my IDE for Rust, Ruby and anything else (Vim/NeoVim, i3, alacritty, gdb).