atom-typescript icon indicating copy to clipboard operation
atom-typescript copied to clipboard

Linter shows many errors with no reason

Open piotrgredowski opened this issue 9 years ago • 7 comments

When writing any .ts file in Atom there is bunch of errors. Disabling and enabling plugin (and Atom) helps only for few new lines of code. Then it shows new errors i.e. according to non-existing names of variables or functions. Please notice that these errors are in part referring to non-existing line.

Atom : 1.19.4 Electron: 1.6.9 Chrome : 56.0.2924.87 Node : 7.4.0 atom-typescript: 11.0.7

UPDATE: Closing file and opening it again clears these errors. But after writing and editing some code they will appear again. I am trying now on Atom 1.20.0-beta5 but it's still happening.

screenshot from 2017-08-31 12-50-44

piotrgredowski avatar Aug 31 '17 10:08 piotrgredowski

Same issue here !

RafikSM avatar Aug 31 '17 11:08 RafikSM

Same... i've tried disabling, uninstalling, restarting. It's like the linter functionality is holding on to some old/corrupted versions of files.

jolivr avatar Aug 31 '17 16:08 jolivr

This might be related to #1333 in which case the fix is to downgrade to 19.3 or wait for the nice folks on the atom team to fix the TextBuffer implementation.

guncha avatar Aug 31 '17 16:08 guncha

Finally i downgraded to 1.19.3, I didn't notice any similar problems for now. And I'm waiting for fixing TextBuffer :)

piotrgredowski avatar Aug 31 '17 16:08 piotrgredowski

😬 This one's my fault. I merged a fix already. It will go out in Atom 1.19.5.

maxbrunsfeld avatar Aug 31 '17 18:08 maxbrunsfeld

Works great in 1.19.5.. thanks max!

jolivr avatar Sep 01 '17 13:09 jolivr

I still run into this issue in latest 1.20.1 Atom mostly when working with multiple panes.

demisx avatar Sep 25 '17 16:09 demisx