How do I create a custom editor for executables (Unix) #1532
-
|
My team is working on an extension to show objdump output when an executable is opened in the editor. The problem I am facing is how to assign custom editor to an executable. Executables on Unixes do not have set file extensions so glob patterns are not feasible. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Maybe @lramos15 can help |
Beta Was this translation helpful? Give feedback.
-
|
Your best bet would be to assign your custom editor to be the default binary editor and then have some sort of graceful fallback if it's not an executable.
|
Beta Was this translation helpful? Give feedback.


Your best bet would be to assign your custom editor to be the default binary editor and then have some sort of graceful fallback if it's not an executable.
workbench.editor.defaultBinaryEditor