Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to set VS Code as the default editor on Linux #703

Closed
Tyriar opened this issue Dec 9, 2016 · 0 comments
Closed

Explain how to set VS Code as the default editor on Linux #703

Tyriar opened this issue Dec 9, 2016 · 0 comments
Assignees
Milestone

Comments

@Tyriar
Copy link
Member

Tyriar commented Dec 9, 2016

Some things go through the alternatives system (not sure what yet):

sudo update-alternatives --config editor

Some need you to set the default for a mime type like:

~/.local/share/applications/defaults.list

[Default Applications]
text/plain=code-insiders.desktop

Which adds Open With Visual Studio Code - Insiders (Ctrl+O) to the nautilus context menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant