Sublime Forum

Is it possible to get syntax highlighting similar to that of JS Fiddle without altering anything else (like background or tab color and size etc)?

#1

So the only thing that should is syntax highlighting.

0 Likes

#2

Here’s a few thing:

What is a … and what does it do:

  • theme: it changes the sidebar, tabs (color, size, etc) (a .sublime-theme)
  • color scheme: it defines the colors of your code (a .tmTheme)
  • syntax: it defines how your code is colored (with some regex, as a normal user, you wouldn’t touch to any of these) (a .sublime-syntax)
  • plugin: a python program that will change the behaviour of sublime (edit text, create files, whatever) (a .py)
  • no name: every .sublime-menu files defines the menu (context, main, syntax, etc)
  • no name: every .sublime-commands files defines the options in the command palette (ctrl+shift+p)
  • package: a folder that contains all/some of the elements of the above.

So, you need to change your color scheme. There’s plenty out there, but you’re most likely to find some on package control

Matt

0 Likes

#3

Ok, I will try to find something like that. By the way, I am using the Boxy Theme, which is the best theme ever. I will try to edit some settings in order to make that happen.

0 Likes

#4

Yep, I’m currently using boxy too.

But boxy comes with different color schemes. Open the command palette and type boxyconf, hit enter, and then go into color schemes and pick whichever one you want.

You might want to use this package to swap color scheme quickly: Schemr

And this one to customize them: colorSchemeEditor (on st3, you need to extract the package first. You can use packageResourceViewer to do this)

Matt

0 Likes