-
Notifications
You must be signed in to change notification settings - Fork 23
Multiple panes cause incorrect errors #180
Comments
Can you define "behave erratically"? Also, could you try with a different type of file/linter combo to see if the issue is actually linter-ui-default? |
I've also seen cases where the linter shows spurious errors when using multiple panes. Demo here (sorry about crap audio) https://screencast-o-matic.com/watch/cb1o2eXRGd Doesn't seem to happen with Atom PHP linter. |
Sorry for the delay in responding -- I am running several linters and have not had issues with any other than tslint. It gives false errors and the error messages show incorrect values, i.e. instead of "property 'example' does not exist on type 'MyExample'", it may read "property 'ample Ev' does not exist on type 'ple And'". It is as if the linter loses its place in the file. If you need a screenshot I'll try to reproduce when I can find time. |
@roddypratt The video you shared shows the provider is @jdolle What does the provider field say for you? |
@Xapphire13 You're right, of course. I'm new to Atom and hadn't sussed the distinction between the two plugins. I'll move the report and video over. Thanks! (Appears to be a known year-old issue... TypeStrong/atom-typescript#869) |
@Xapphire13 TSLint. It happened again to my coworker so I got screenshots. |
I've been seeing this a little bit recently, but not isolated to linter-tslint (seen it with atom-typescript also). I think this may be an issue with linter-ui |
Just to rule out the linter-ui, go ahead and test using linter-ui-plus to see if you have the same problem. If you have the same problem it's likely not the linter-ui. |
I personally don't have a constant repro, @jdolle, is yours 100% repro? |
One interesting thing to note is that the lint issue list seems to be correct each time, just the in-editor indicators |
Oh. That actually explains a great deal. How are you seeing the problem? Is it after some plugin rewrites a bunch of a text in the editor? |
prettier/prettier-atom@9a538e1 This might be related. |
I see the issue when i bulk delete a number of lines from one pane, then the atom-typescript package triggers static analysis, once that's done, the analysis results are messed up in one of the panes. |
Hmmm, so the same file is open in multiple panes, editor markers are correct for the "active" pane, but the other pane the highlighting is wrong? |
As I recall (from my repros), yes. Though next time it happens for me I will take screenshots of my own so it's not just from memory =] |
@Xapphire13 I cannot reproduce it consistently. And I also get similar incorrect errors sometimes from Atom-Typescript so it may be an issue with the linter UI. The inconsistency makes it hard to know. Sorry I'm not much help. |
This is still an issue, I'm using |
At this point im convinced the issue is not Could people use that bug to add details from this point? |
When working with multiple panes in Atom, tslint will give invalid errors for files and behave erratically.
The text was updated successfully, but these errors were encountered: