IDEA 2019.2.1 is not responding on adding a JSdoc comment
Answered
When I'm typing /** and pressing Enter to create a JSdoc comment my IDEA stops responding until I restart it (which means losing all unsaved code). This is happening only in one file with lots of reselect selectors. I think it may be a type analyzer getting in endless loop.
Please sign in to leave a comment.
Hello,
Do you face this issue only in JS code? Is it reproducible with plain java?
I don't work with Java, so I don't know. It seems to be some corner case because it's reproducing only for adding JSdoc comments to reselect selectors only. For some complex selectors IDEA is not responding for 20-25 seconds, but in some cases it is not responding until force restart.
I created a screen record with case when it kills IDEA completely: https://www.youtube.com/watch?v=fkY4fqLVfe0
@Onatolich must be https://youtrack.jetbrains.com/issue/WEB-38968, please follow it for updates
It is not freezing while editing selectors, only while adding JSdoc comment. However highlighting is lagging while editing selectors.
Thread dumps can help to identify the issue better: https://intellij-support.jetbrains.com/hc/articles/206544899.
You can upload files at https://uploads.services.jetbrains.com/ or use any other file sharing service.
Logged an issue in YouTrack with thread dump: https://youtrack.jetbrains.com/issue/IDEA-222604