On Win10, delete the ā.txtā filetype, open VSCode, click on the Extensions icon to open the Extensions pane, then click on the 3 dots in the upper right corner of the pane and select āInstall from VSIXā, then select the gpscript vsix file.
EDIT: When I paste a GPScript copied from the User scripts subforum, Iām getting no highlighting at all. [sigh]
Sorry to hear you are having issues. VS Code seems to be smart enough to detect the language even of a pasted in bit of code. It certainly does for me with GP Script, JavaScript and Ruby. Iām not a VS Code and I wasnāt expecting it to do that but itās cool that it does.
Can you try either selecting GP Script from the list at the bottom right of the screen? Or saving it as a file with the extension .gpscript?
Does that work?
Did you restart the VS Code first?
That should kick in the syntax highlighting for you.
Once I selected GPScript as the language, the syntax highlighting worked great. I shouldnāt be trying new things before sunrise. Thanks. At least I can now confirm that VS Code doesnāt read minds.
Download the extension and remove .txt from the end
From the same directory as the extension run: code --install-extension gpscript-4.7.0.vsix
Restart VS Code
On Mac you can also simply drag and drop the renamed vsix file to the Extensions panel within VS Code.
On Windows you can probably delete the ā.txtā filetype, open VSCode, click on the Extensions icon to open the Extensions pane, then click on the 3 dots in the upper right corner of the pane and select āInstall from VSIXā, then select the renamed vsix file.
If you have any issues or suggestions let me know!
Download the extension and remove .txt from the end
From the same directory as the extension run: code --install-extension gpscript-4.8.2.vsix
Restart VS Code
On Mac you can also simply drag and drop the renamed vsix file to the Extensions panel within VS Code.
On Windows you should be able to delete the ā.txtā filetype, open VSCode, click on the Extensions icon to open the Extensions pane, then click on the 3 dots in the upper right corner of the pane and select āInstall from VSIXā, then select the renamed vsix file.
If you have any issues or suggestions let me know!
For a clean install of VS Code, do I need to install the v4.7.0 file first, and then the v4.8.2 file? The v4.7.0 file is 55 KB, and the v4.8.2 file is only 9 KB.
Here is a syntax highlighting extension for Gig Performer 5.0.
Rename the file to remove the .txt extension.
On Mac you can also simply drag and drop the renamed vsix file to the Extensions panel within VS Code.*
On Windows, open VSCode, click on the Extensions icon to open the Extensions pane, then click on the 3 dots in the upper right corner of the pane and select āInstall from VSIXā, then select the renamed vsix file.
If you have any issues or suggestions let me know!
I just found this and itās great. Thanks. I just started writing some scripts. I had just started one for vi but I can forget that. Since I run vi in vscode Iām happy.