B
B
bo8832013-03-26 19:09:32
Sublime Text
bo883, 2013-03-26 19:09:32

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.
image

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
egorinsk, 2013-03-26
@bo883

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.

I
issssrt, 2013-12-06
@issssrt

As usual, I set up a bunch of plugins that you don’t need, and now you’re writing stupidity

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question