I posted this PICO-8 theme + syntax coloring file for Sublime Text 2 if anybody wants! The syntax highlighting supports PICO-8 Lua code including the PICO-8 library functions. The color scheme uses the PICO-8 palette, and gets pretty close to the look of the editor.
Finally, for an extra touch, I included a settings file to use an unofficial TTF Font by RhythmLynx, reduce the font size, disable anti-aliasing, increase line padding, and force indentation to be a single space like in native PICO-8. (Uses a font size of 7.5, but a font size of 3.5 seems to be a 1x scale font, for those who want extremely hi-res views of their code)
You can get it here!
Oh I see! :< That sounds like it's probably because of the Retina display. When I was testing this I used a 1080p screen. Might need to double the font size in that Pico8.sublime-settings file (Preferences >> Settings - More >> Syntax Specific - User) I found for some reason .5 font sizes work out nicer than integer ones for scaling properly. That's why I ended up hardcoding the font size in the first place instead of just allowing the text zoom.
@RhythmLynx Thanks for making the font, it's pretty fun to edit code in fullscreen using this! I could also see it being useful for posting PICO-8 code snippets on a personal website, or even doing mockups/drawings. It'd also be cool if the BBS here had that font + syntax color scheme applied to [code] blocks. :D
@moechofe Sorry, that was a mistake :< I had accidentally put a lowercase filename in Pico8.sublime-settings. I've updated the file to use the correct case, so if you redownload that file, or correct the pico8.tmTheme to be Pico8.tmTheme by hand it should be okay now.
[Please log in to post a comment]