What is the CLI command to edit a file using code-server?
Normally I would use
code <filename>
in VSCode, is there an equivalent with code-server?Solution:Jump to solution
@John King it's
code-server <filename>
https://github.com/coder/code-server/issues/164#issuecomment-683707810
so you can alias code="code-server"
...10 Replies
<#1237046838553743461>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
code <filename>
should also workusing the starter docker template, it does not.
let me take a look
Thank you. Probably just a path thing?
yeah seems like code-server doesn't have it
oh
Solution
@John King it's
code-server <filename>
https://github.com/coder/code-server/issues/164#issuecomment-683707810
so you can alias code="code-server"
OMG that's so obvious... why didn't I try that 😦 Thanks Phorcys!
marking this as resolved :-)
@Phorcys closed the thread.