Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98812

Open file from integrated terminal in VS Code

$
0
0

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?


Viewing all articles
Browse latest Browse all 98812

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>