I started to write some code for sagemath having extension .sage. I write those on sublime text editor. However there is no syntax highlighting for .sage documents. Sage is mostly based on Python. So is there any way that I can tell sublime to use Python syntax whenever I use .sage file. ?
Thanks is advance.
From the main window, click the View menu, choose Syntax, then at the top "Open all files with current extension as…" you can choose which syntax highlighting to use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With