Add new file encoding #132
-
|
Is there a way to write an extension that adds a new file encoding? I have a bunch of data files for a very old program that are encoded in DOS-862, which is not available in the encodings list. I didn't find mention of such an option, but I have never written an extension so maybe I am using the docs wrong |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @BMBurstein , I guess you should look for Custom Editor API, as you would be responsible for providing the write/read feature for your custom encoded files. Take a look at their sample in https://github.com/microsoft/vscode-extension-samples/tree/main/custom-editor-sample for more details. On the other hand, I found an old issue, which seems to ask exactly what you need. But it still open, with no ETA. Hope this helps |
Beta Was this translation helpful? Give feedback.
Hi @BMBurstein ,
I guess you should look for Custom Editor API, as you would be responsible for providing the write/read feature for your custom encoded files. Take a look at their sample in https://github.com/microsoft/vscode-extension-samples/tree/main/custom-editor-sample for more details.
On the other hand, I found an old issue, which seems to ask exactly what you need. But it still open, with no ETA.
Hope this helps