linter-ui-default icon indicating copy to clipboard operation
linter-ui-default copied to clipboard

Still underlines "invalid" code when I just have fixed them

Open binarykitchen opened this issue 8 years ago • 8 comments

Looks like a new bug: when I just have fixed invalid code and it was underlined with a yellow highlight, that yellow line does NOT disappear when I have fixed it. Happens on latest, v1.6.0

binarykitchen avatar May 31 '17 02:05 binarykitchen

Hi @binarykitchen

Highlights dont disappear until lint is triggered again, which usually happens on save or on text change (if the provider supports it). Can you tell us which linter provider you are using and if it supports lint on change?

steelbrain avatar May 31 '17 03:05 steelbrain

ah, on save or text change it lints again.

can we change that behavior and have it lint again after i.E. 500ms of silence? sometimes you correct a line and then lean back + think about stuff, then glare back to the monitor and wonder why it's still invalid ...

binarykitchen avatar May 31 '17 03:05 binarykitchen

You can configure lintOnChangeInterval in the base linter package. Does that answer your question?

steelbrain avatar May 31 '17 03:05 steelbrain

ok, that's configured. thanks for pointing. but the next problem is ... see screenshot: screen shot 2017-05-31 at 16 22 59

when i click on the yellow icon, nothing happens. and there are no errors nor warnings at all in the window.

binarykitchen avatar May 31 '17 04:05 binarykitchen

That''s another configuration 😛

By default status icon shows stuff from entire project, you can change panelRepresents or stausBarRepresents from linter-ui-default config

steelbrain avatar May 31 '17 04:05 steelbrain

ah good, that worked

now the next issue: screen shot 2017-05-31 at 16 42 09

why is Create.es underlined with yellow as faulty but has zero warnings/errors?

binarykitchen avatar May 31 '17 04:05 binarykitchen

It looks like it has a warning somewhere in there, you should install minimap and linter minimap. It would show you an overview of where errors are in your files

steelbrain avatar May 31 '17 04:05 steelbrain

installed them, still no change. it's still underlined with yellow. it has no linting errors in it.

nowhere there is an explanation what's wrong with this file. even when i mouse over it, no tooltip appears telling me what's wrong with it.

any ideas/suggestions?

binarykitchen avatar May 31 '17 22:05 binarykitchen