beastmatser/ti-basic-autocomplete

VS Code does not use this Editor when opening .8xp files

Closed this issue · 2 comments

On latest VS Code on Windows 10 after installing this extension and opening any .8xp file VS Code alerts that file is binary, do you wish to open anyway. When selecting yes, only the generic text editor is available.

Are there other prerequisites?

Version: 1.65.0 (user setup)
Commit: b5205cc8eb4fbaa726835538cd82372cc0222d43
Date: 2022-03-02T11:12:08.962Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.1904
VSCodeError
VSCodeError2
4

As it turns out the .8xp file extension is a compiled file, the app ti-connect can open these sort of files and display those as text. So I thought I could use this file extension as well, but unfortunately this is not really the case.

Workaround:
Open the file with the ti-connect app en copy the text into a file in vscode and set the language mode to 8xp, if you want to upload your code to the calculator you should copy the text in vscode into the ti-connect app and then upload it (do not use the same file, it will overwrite the text by the binaries).

If you need anymore help, just let me know, I am available on Discord (here) if you would like to discuss some more things or if you want me to clarify further

I also will put this into the readme, thank you for letting me know, happy coding :)

I added the notes in the wiki, thank you for your contribution!