Is there a way to open a file from the command line in a particular vscode-remote window or workspace? I know code has --reuse-window or --new-window, but I would like to open the file in a specific workspace (I usually have 3+ remote workspaces open).
Open a file from command line in a particular VS Code window or workspace?
23 Views Asked by studgeek At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO-CODE
- Is there a way to prevent vscode from forwarding ssh agent to remote dev container?
- flutter Null check error: did not show file and line number
- vscode, debug angular, first time, doesn't debug, 2nd time stops at main.js then it's ok
- trouble with creating a project for Pymakr in vscode
- Compiling c++ code by VS Code is always blocked by clang-tidy error 'Error running 'clang-tidy'
- Disable typescript in VS Code
- couldn't sign in visual studio code
- I can't add text to "Message" in VS Code when committing to Git
- Cannot type single backtick in VSCode
- WebScraping doesnt work, even without error
- Visual Studio Code keeps discovering python interpreters forever and vscode-server on remote is busy 100%
- vscode uses different cocoapods version when running a task
- Live server extension in VS Code works in background but do not pop the web browser
- How to recover deleted files from create vite react project
- Autocomplete not working for apache spark in java vscode
Related Questions in VSCODE-REMOTE
- Is there a way to prevent vscode from forwarding ssh agent to remote dev container?
- vscode remote development: What information is copied to the local machine?
- where is the port-forward rule file stored in vscode?
- Why am I unable to connect to postgres running inside a docker container that is running inside of a devcontainer?
- VSCODE multiples error with SSH extension
- vs code is developed remotely through the bastion machine, and the connection fails
- Open a file from command line in a particular VS Code window or workspace?
- How to make or transfer libraries and other things in cs50 codespace to my original and offline VsCode?
- VSCode - Devcontainers - Source Bash Profile
- how to manually set a port forward rule?
- How might a VSCode extension expose a remote repo to the local filesystem?
- Open VS code from terminal in devcontainer?
- What really happens when I set `overrideCommand` on .devcontainer.json?
- How do I taskset vscode-server?
- VSCode Python: Run Selection/Line in Python Terminal. Not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As far as I know, no. Not at the time of this writing. At least on Linux, it seems to pick whichever window last had focus (and has issues if no workspace is open yet in any of them).
Technically you could use an integrated terminal in whichever terminal you wanted the file to be opened into, but I don't know if that counts for what you want.
Feel free to raise a feature-request issue ticket, but I have no idea how this would work and be user-friendly (how do you specify which window?). If you do, be prepared to do some carry work.