Webstorm showing wrong result for typescript
When I paste chunks of code, WebStorm often stops showing errors correctly. It looks like the editor breaks. This issue happens frequently. I’ve already increased the heap memory to 4096, but the problem still persists. I invalidated the cache and restart then its working. Just restarting does not fix.

Please sign in to leave a comment.
Please could you share the logs from the language service (collected via Help | Collect Logs and Diagnostic Data….) within a new youtrack ticket (https://youtrack.jetbrains.com/issues/WEB)?
To enable verbose service logging please go to Help | Diagnostic Tools | Debug Log Settings… and add
com.intellij.platform.lspto the Custom Debug Configuration window.Then restart the IDE, reproduce the issue, and collect the IDE logs.
I am sharing the log. The issue happens randomly while writing. When this issue occurs somemetimes the error does not show at all or shows wrong error. This is log url: https://getshared.com/4Xf8qijq
Thank you.
I can see some entries similar to WEB-73707, but they are not necessary related.
Please could you share logs with
com.intellij.platform.lspenabled, collected _right after_ reproducing the issue?I have enabled it. Now need to wait to reproduce the issue. As it happens randomly and could take days.