Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open with System EditorNew to Visual Studio Code? Get it now.
Open with System Editor

Open with System Editor

slaugaus

|
69 installs
| (0) | Free
Registers a custom editor that opens files externally.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open with System Editor

Abuses the Custom Editor API to associate filetypes of your choice with the default program defined by your OS.

With respect to sandcastle's Open, which I borrowed the file-opening code from.

Why use this?

To my knowledge, all the other extensions like this are adding commands or context menu items. Because this one pretends to be a custom editor, you can set it as the primary handler of a filetype, meaning all you have to do from then on is click the file and it'll open in the external editor.

Features

From the Explorer view, right-click a file, Open With..., System Editor.

From that Open With dialog, you can also click "Configure default editor for ___" to always open files with the system editor.

Or edit the setting manually in your settings.json or the UI:

"workbench.editorAssociations": {
    ...
    "*.docx": "open-with-system"
},

TODO: Record GIFs

Known Issues

This took me like an hour to make, there's probably something.

Only tested on Windows.

Release Notes

0.1.0

Initial release!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft