Tell me, please, color schemes for Sublime Text, which will highlight the JS-code. I put all the plugins that have JS in the title, searched the Internet, but did not find anything useful. At the moment, the code is not highlighted all:

JS code

Most annoying is that this , length and other things that are often used are not highlighted.

  • You advised me the theme of the design, in this topic just a white color replaces with blue and vice versa - PyMbIH

4 answers 4

On the English-language Stack Overflow, the answer is about the Neon color theme. According to the developer, the scheme supports Python, Ruby, Clojure, JavaScript / JSON, C / C ++, diff, HTML / XML, Markdown, reStructuredText, PHP, CSS / SCSS / SASS, GitGutter, Find In Files, PackageDev, Regex and SublimeLinter.

Neon has a huge selection of settings.

Monokai, the default.

Monokai

Neon. Pay attention to the scroll bar.

Neon

Result for javascript:

Neon javascript

If you don't like a particular color, you can change it in the GUI, here .

In the question they asked to suggest the existing color schemes, but you can also set the colors to the unlighted elements of the code yourself .

Thank.

    Updated

    Went through several plugins, stopped at Java Script Next - ES6 Syntax

    preferences - color theme - javascript next - two themes with highlight this.

    enter image description here

    • Yes, this is probably the best of the plug-ins, but again it doesn’t highlight either this or length , although it highlights many of the standard methods - PyMbIH
    • @PyMbIH which means not highlighted, do you need autocomplete code? - Jean-Claude
    • @ Jean-Claude, no, he needs this and length be colored, not white. To have been allocated. - VenZell
    • @PyMbIH added to the response - Jean-Claude
    1. As an option, the Babel- plugin is suitable (the required this highlighted here):

    enter image description here

    1. Pretty famous JSHint :

    enter image description here

    1. You can also try JsFormat :

    enter image description here

    Well and so - everything is on the 1st link by normal request .

    • The screenshot I attached is the code set in the settings "View -> Syntax -> Babel -> JavaScript (Babel), JsFormat - not at all in the syntax settings, however like JsHint - PyMbIH
    • @PyMbIH we are not fortune-tellers and cannot know what is already installed and what is not. Describe your question completely. - Denis
    • @Denis JSHint and JsFormat, these are not code highlighting plug-ins, but formatter-butifera. Written by JsFormat is a javascript formatting plugin. It uses jsbeautifier JsFormat is a javascript formatting plugin. It uses jsbeautifier . - Jean-Claude

    JavaScript Ultimate plugin has JavaScript Ultimate syntax setting JavaScript Ultimate -> JavaScript(DOM) , this , though it doesn't highlight, but everything else is great

    enter image description here

    Also when choosing a color scheme, this is highlighted.

    • Please tick the solution that matches you. - Sasha Chernykh