phindle / error-lens

Visual Studio Code extension which enhances the display of errors and warnings.
https://marketplace.visualstudio.com/items?itemName=PhilHindle.errorlens
MIT License
89 stars 40 forks source link

Small annoyances using this plugin. #23

Open SirTwsted opened 5 years ago

SirTwsted commented 5 years ago

Hi :dagger: First I would like to say, I like your extension, But, I have a few things I came across that are very annoying. First, im getting errors on mispelling words that are commonly used in programming languages, as well as other things that this extension is screaming about, that I believe is a bit annoying. here is an example of a small code I was doing via .json just playing around with workspace settings. You extension is basically vomiting all over the page because it says im mispelling scrollbar.....LOL I understand that maybe green means ok, but if something is right, then there shouldnt be any bar at all. I just want the extension to catch problems, and when I fix them, it should not keep vomiting all over the page, even though the bar is green. if its fixed, nothing should be there. . Screenshot_56 . Another example is im doing Lorem text and again it vomits on the page. . Screenshot_57 . Anyways, besides there, its a great extension :dancer:

usernamehw commented 5 years ago

Well, all of them are created by one extension.

It could probably be fixed in the future with the ability to exclude problems: #17

SirTwsted commented 5 years ago

@usernamehw
That would be awesome :D

SirTwsted commented 5 years ago

@phindle is there a command to disable "dictionary" until you fix the current problems ? just curious. I see there are 2 commands, but not for just the dictionary. which are the following:

ErrorLens.enable: Enable ErrorLens. ErrorLens.disable: Disable ErrorLens.

Would like one for the dictionary please :D thank you

phindle commented 5 years ago

Hi @SirTwsted - thanks for the suggestion, As @usernamehw suggests, issue #17 will be implemented, but I'm busy with work and things at the moment, so I'm afraid I can't say when this will be fixed. It's not a big job... just need to find the time to do it :-)

As a short-term workaround, I would suggest disabling diagnostic level 'info'. From your screenshot, it looks like these diagnostics you're seeing are just 'info' level, so you could disable info diagnostics, leaving just warnings & errors. To do this, you can use the errorLens.enabledDiagnosticLevels setting to specify the diagnostic levels you want to see. e.g. errorLens.enabledDiagnosticLevels: ['error', 'warning]

SirTwsted commented 5 years ago

ok, thank you. I will do this immediately hehehehe... Thanks for the reply buddy., :)

ssbarnea commented 4 years ago

While I find the description funny, I do agree that spelling should be excluded by default from error-lens because it hinders the navigation.

I like this extension but is not done for spelling mistakes. For these the default and subtile underline is more than ok.

iscorporacion commented 3 years ago

Me pasaba igual, me fui a la configuracion de la extencion, y en error Lens: Exclude () agregue el elemento "Unknown word" y lo solucione image