I have VS Code setup with WSL on my Windows 10 machine. I am trying to find the command I can use to open an existing file from the integrated terminal in the current VS Code window.
I tried code filename
, which launches a new VS Code window. I tried with code -r filename
, but it also launches a new window.
Is there a way to quickly open a file when I'm focussed on the terminal?