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
I set editor.defaultBinaryEditor setting to an editor provide by an extension(Hex Editor), but I think the problem do not come from the extension.
I'm viewing a log file capture from a serial port. This log file mostly contains readable text content, but some non-text content is also written to the file when the device restarts, which is why I believe VSCode detects this file as a binary file (I have pinpointed the issue to a file segment that includes a \0 terminator). Therefore, VSCode opens this file using the defaultBinaryEditor, which is not a problem for me. I am just trying to use the "Reopen editor with" feature to reopen the file in the default text editor.
However, VSCode consistently detects this file as a binary file and attempts to redirect it to the defaultBinaryEditor.
I know I can clear the defaultBinaryEditor or set the default text editor, but this would require me to reselect the hexeditor every time I open a binary file.
I feel that when a binary file is detected, the "Reopen editor with" feature should have a higher priority than the defaultBinaryEditor.
The text was updated successfully, but these errors were encountered:
I set
editor.defaultBinaryEditor
setting to an editor provide by an extension(Hex Editor), but I think the problem do not come from the extension.I'm viewing a log file capture from a serial port. This log file mostly contains readable text content, but some non-text content is also written to the file when the device restarts, which is why I believe VSCode detects this file as a binary file (I have pinpointed the issue to a file segment that includes a \0 terminator). Therefore, VSCode opens this file using the defaultBinaryEditor, which is not a problem for me. I am just trying to use the "Reopen editor with" feature to reopen the file in the default text editor.
However, VSCode consistently detects this file as a binary file and attempts to redirect it to the defaultBinaryEditor.
I know I can clear the defaultBinaryEditor or set the default text editor, but this would require me to reselect the hexeditor every time I open a binary file.
I feel that when a binary file is detected, the "Reopen editor with" feature should have a higher priority than the defaultBinaryEditor.
The text was updated successfully, but these errors were encountered: