You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow opening files in existing code-server instance from a terminal outside code-server #2036
Are you running it inside code-server's terminal? If you run it outside of code-server it'll just launch another instance. I think it'd be worth figuring out how to make this work in an external terminal too though.
If you run it inside code-server's terminal and it still doesn't work (or if you're already running it in code-server's terminal) then could you run printenv VSCODE_IPC_HOOK_CLI and see if it outputs anything for you?
Ahh, for whatever reason it wasn't set inside my tmux session, but it's working now, thanks for your help!
Would be good to be able to do it from an external terminal as well though :)
changed the title [-]code-server <file> attempts to start another instance of code-server[/-][+]Allow opening files in existing code-server instance from a terminal outside code-server[/+]on Sep 1, 2020
Activity
code-asher commentedon Aug 31, 2020
Are you running it inside code-server's terminal? If you run it outside of code-server it'll just launch another instance. I think it'd be worth figuring out how to make this work in an external terminal too though.
code-asher commentedon Aug 31, 2020
If you run it inside code-server's terminal and it still doesn't work (or if you're already running it in code-server's terminal) then could you run
printenv VSCODE_IPC_HOOK_CLIand see if it outputs anything for you?rabidpug commentedon Aug 31, 2020
Ahh, for whatever reason it wasn't set inside my tmux session, but it's working now, thanks for your help!
Would be good to be able to do it from an external terminal as well though :)
nhooyr commentedon Sep 1, 2020
Agreed!
[-]code-server <file> attempts to start another instance of code-server[/-][+]Allow opening files in existing code-server instance from a terminal outside code-server[/+]