Answer the question
In order to leave comments, you need to log in
Sublime annoying frames
Hello, friends.
Connoisseurs of sublime tell me what kind of frames (shown in the image) of the code? And how can they be removed? Horror as annoying.
Answer the question
In order to leave comments, you need to log in
Most likely, these are errors and violations of the coding style (an extra comma in the array, no parentheses in the constructor call), which are highlighted by the SublimeLinter plugin (if you have it installed). To read the text of the error, place the cursor inside the rectangle. To see the full list, press ctrl + shift + P and type linter show error. To get rid of them, remove the plugin or fix them.
This plugin (which uses jshint internally) is a very useful thing, but to get more benefit, you need to configure it: by default, it reacts only to the most gross errors, and for example, typos in a variable name, easily skips. I advise you not to remove the plugin, but open the jshint page, read about the validation options, open the linter settings and enable all options to the maximum.
After that, your code will become much better and you will spend less time debugging.
By the way, the plugin can work in 2 modes: constantly check as you type (it eats a lot of the processor, as it launches node.exe for each letter) and checks only when saving.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question