Currently, I name my files as .py while working on them, and then change them to .sage when I need to execute. Is there a way to get the python colour scheme for sage files on VS code?
There is an extension called SAGE enterprise management that claims to do it, but the instructions are a bit unclear:
It says:
Create a x3-code named folder inside your ~/.vscode/extensions/;
Copy all files in yours recent created folder;
Reload VS Code and enjoy;
I tried both copying my sage files into the folder, and the contents of the x3-extension into the folder, both of which didn't work.
settings.json
. For me, on Windows 10, the file was located atC:\Users\<user name>\AppData\Roaming\Code\User
. If using the settings window inside the editor instead (as in @qwyster's answer) - drop the quotation marks. – Crafty