Microsoft Visual Studio Code is a really nice editor and I would like to make it my default normal (not terminal) text-editor over Gedit, Emacs, or Vim. (I know, I'm so evil.)
There's no way for me to add it via a GUI option and I've looked at several online suggestions, but all of them are fairly out of date or unhelpful.
Do any of you have any suggestions? I'll take a terminal solution, but if you guys have a GUI one, that'll do too.
Best Answer
From Microsoft VSCode's Doc
Setting VS Code as the default text editor
You can set the default text editor for text files (text/plain) that is used by xdg-open with the following command:
Debian alternatives system
Debian-based distributions allow setting a default editor using the alternatives system, without concern for the mime type. You can set this by running the following and selecting code.
Additionally, there is issue mention following