VS Code
Visual Studio Code https://code.visualstudio.com/download (please, download and install Windows version for WSL2)
Then open a terminal (Ubuntu) and test it: code .
I suggest also to install some additional extensions for easier work as well as login into github account inside VS Code.
VS code extensions (inside WSL2)
code --install-extension albertopdrf.root-file-viewer # root trees explorer
code --install-extension GitHub.copilot # copilot
code --install-extension tomoki1207.pdf # view pdf files
code --install-extension ms-vscode.cmake-tools # for C++ highlightning
code --install-extension ms-vscode.cpptools # for C++ highlightning
code --install-extension ms-vscode.cpptools-extension-pack # for C++ highlightning
code --install-extension ms-vscode.cpptools-themes # for C++ highlightning
code --install-extension xaver.clang-format # beautify C++ code in universal style