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
How to initialize code-server with extensions, settings, shortcuts, etc. using config file? #2831
Hi @arita37 - this is already possible, to some extent. If you look at the logs when code-server starts, it uses a config file somewhere on your machine like: ~/.config/code-server/config.yaml
How to pre-installed extensions ?
Suppose I have extension on disk
and wants to install them from config file
at start
and same for dakr mode,
Shortcuts
On Mar 9, 2021, at 2:16, Joe Previte ***@***.***> wrote:
Closed #2831.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
changed the title [-]Create extension/config to initialize code-server[/-][+]How to initialize code-server with extensions, settings, shortcuts, etc. using config file?[/+]on Mar 8, 2021
Activity
jsjoeio commentedon Mar 8, 2021
Hi @arita37 - this is already possible, to some extent. If you look at the logs when code-server starts, it uses a config file somewhere on your machine like:
~/.config/code-server/config.yamlHere's what the file looks like:
Any flag that the CLI accepts should be configurable in the yaml file. Hope that helps! Please reopen if I misunderstood and you need something else!
arita37 commentedon Mar 8, 2021
jsjoeio commentedon Mar 8, 2021
A few things you can do:
code-server --install-extension ms-python.python(see more)[-]Create extension/config to initialize code-server[/-][+]How to initialize code-server with extensions, settings, shortcuts, etc. using config file?[/+]