But since the last few weeks, I noticed a change of behavior. The VS Code Remote Server in the WSL starts to eat all the memory. I used to limit my WSL to 4GB of memory, I increased it to 8GB, and it still fills it up, and the swap, causing a huge disk load, making the whole computer extra slow, and the VS Code window becomes unresponsive. Often I either have to kill VS Code, sometimes the WSL itself.
It's so bad it became unusable. And honestly, 8GB for an editor? This is a joke.
I tried neovim, but the days when I enjoyed a vim-based setup are long gone, and honestly the integration with LSP servers is poor at best.
AFAIK, Sublime Text has no WSL integration.
Do you have any recommendations?
The main downside of IntelliJ is that it can be memory-intensive and slow, although perhaps not as much as your VSCode. Anecdotally, performance has been fine for me on an M1 Macbook Air, and 4GB more than enough memory, but my projects are probably smaller than yours.
Another option is Zed (https://zed.dev/). Being very new, I doubt it has all of VSCode's features. But it does allegedly work with 100+ languages, and it definitely has jump to definition and view signature (https://zed.dev/features#navigation). Zed should be particularly fast and efficient, and being new will probably gain missing features faster than the others.
Zed isn't available yet on Windows I think (at least, not prebuilt binaries?)
I'm on the latest version (1.97.2).
I can try the other memory settings indeed, but I think the culprit is the builtin file watcher. I've stumbled across some similar issues on Github, open for 5 years without a solution :(
Isn't IntelliJ IDEA for Java/Kotlin? I have a project which is cross-languages: Go+Rust on the backend, Typescript/React on the frontend, Hurl and Python (Robot Framework) for the test suite. And I'd rather not have one IDE per language (which is IIRC what Jetbrains do).
Maybe you've already done this, but if I were you, I'd take note of everything that has been installed and updated in the last month. Walk back installs and updates until your problem goes away, and then you'd know exactly what is causing the problem behavior.
Minimalist fast native (not browser-based) code editor for Windows, Mac, Linux, BSD. Both a terminal TUI and a native-GUI version for each. First-class (ie. by same author) LSP package. Fully Lua-scriptable for needs beyond LSP. Succinct C & Lua code-base. FOSS, and matured & maintained ever since 2007. All the basic table stakes (syntax coloring, multi-select-and-edit etc).
Woulda skipped on Sublime back when, had I known about it then.
I also stopped using VSCode because of the bloat, which seems mainly caused by node + npm on the remote server. And I've seen it consume all the RAM and too much CPU for an editor.
I know you already rejected Neovim as too much a step back. I went back to plain vim with ripgrep and ctags, ssh/mosh with tmux, my long-time setup, and I'm good with that. No LSP but I can live without that, vim Omni-complete usually good enough.
As said in a sibling comment, I often work on cross-language projects, I don't recall Jetbrains offering a "one size fits all" IDE.
ctags did most of that decades ago. Plain vim has good autocomplete and signature popovers, along with navigating to functions and class definitions. No LSP needed. An LSP will do it better but with sometimes significant overhead.
As I noted I don't use VSCode or a JetBrains IDE. I know about them and have used them. My setup works language-agnostic, and I also work in multiple languages.
Possibly useful, at least interesting:
https://youtu.be/XA2WjJbmmoM
I do work and target Windows for a few other projects.
Also, not trying to start a flamewar, but I've spent too much time tinkering on Linux in the past. There is *always* some hardware compatibility issue, or some missing drivers, and especially with GPUs. Linux works best on a server, or on a VM. At least, that is my experience (and I've been on Linux for more than a decade, be it with either Debian, Archlinux, Gentoo, or Ubuntu).