I am on Windows 11, with WSL2. I have been a user of VS Code for a few years. And I was quite happy with it. I have yet to find another editor with the same level of integration with the languages I work with.
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.