In VS Code's Live Share extension I want it so that participants can join a session and execute code in their individual terminals.
In the Live Share extension of VS Code, can users that joined a session run shared code in their own terminal?
239 Views Asked by CodeCracker 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-LIVESHARE
- How do I solve the problem?: You don't have an extension for debugging Python. Should we find a Python extension in the Marketplace?
- How to see the "blame" after Live Share session?
- How to run live share code on participant's machine?
- Can't compile and run code when joining vscode live share session
- How to prevent files from opening automatically while using Live Share on VS Code?
- Unable to install vscode live share on manjaro linux
- I'm unable to login in Visual Studio Code to Live Share
- How to run HTML locally as a participant on VS Code Live Share?
- How do I build and run specific files in Visual Studio?
- How to hide/disable VSCode LiveShare "Start Discussion"
- Can you always have a vscode-server running?
- Live Share Visual Studio Code Join or Share not working
- Visual studio live share limited functionality
- Live share for Visual Studio Code get stuck after signing in
- How can I share a Matplotlib window with Live Share participants in VS Code?
Related Questions in VISUAL-STUDIO-LIVESHARE
- Why can't my Liveshare partner see the XAML Designer on Visual Studio 2022?
- How to see the "blame" after Live Share session?
- In the Live Share extension of VS Code, can users that joined a session run shared code in their own terminal?
- Can't start a session in Visual Studio Live Share
- Visual Studio 2022 Xamarin boot emulator with Live Share
- No intellisense on Visual Studio Live Share as a guest
- Can you use live share between Visual Studio 2019 and Visual Studio Code?
- How can I disable sync-scrolling in Visual Studio Code during Live share?
- Live sharing Nodejs and Visual studio
- can a guest run code and make a independent server using live share in VS2019?
- Can't start project window on client side with visual studio live share
- VS Code Live Share - errno 2 No such file or directory
- Can't figure out how to use Live Share on VS Mac 8.5.1
- During a VS Code Live Share session, how can I make a participant's Python "Run File in Terminal" button run a host's file on the participant machine?
- Why can't I join my friends visual studio liveshare after we both updated Visual Studio?
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?
I suppose one approach could be to set up SSH. Then you as a participant would additionally SSH your integrated terminal to their machine. The host would need to trust you a lot since they'd be giving you a great deal of access to their machine. And when you'd run commands in that SSH connection, the commands would be running on the host machine, and simply sending the output back to you through the SSH connection, so I don't think this wouldn't work for GUI programs. But at that point, I think you'd better just have the host allow for read-write terminals and create a terminal session in their VS Code instance just for you (it wouldn't really be "their own terminal", since it would be completely hosted by the Live Share host). It would have roughly the same limitations I think, and be simpler to set up. See https://learn.microsoft.com/en-us/visualstudio/liveshare/use/share-server-visual-studio-code#share-a-terminal.
Another approach would be to set up something like FTP / some sort of file transfer connection, and then you'd keep fetching changes to your local filesystem and then run things from your own filesystem. Not sure how that'd work for programs with native code and different architecture/platform between host and participant- you'd probably need to do the builds on your own machine instead of "reusing" them from the host. Also not sure how this would work for symlinks/hard-links (Ex. if the project uses PNPM- in which case you'd probably just not fetch the dependencies and just fetch the dependencies manually on your own machine)