PHPstorm 2023.3.3 IDE text/import/function colors for JS/TS not fully loading

See image below. For some reason they are white. Sometimes they work, sometimes they look fine, sometimes they don't. 

I suspect it is something with code analysis, which either doesn't work as expected, or takes too long to analyze? It does not show any loaders or anything, so I am not sure if it hangs, or there is some other issue.

0

Looks like the advanced highlighting is missing as the code analysis is not completed. Does the issue persist after caches invalidation (File > Invalidate caches, Invalidate and Restart)? If yes, please could you share the logs? This will tell us the information about your environment we need and we’ll be able to check if any errors occurred. You can find them under Help | Collect Logs and Diagnostic Data in the main menu.

0

Hi, thanks. Cache invalidation did not help. Is there a specific logfile I would need to share with you? Since im working on a company project, I would not want to share all logs, as they might contain some sensitive data I presume.

0
The idea.log would be helpful.
0
Thanks!

Unfortunately the log doesn't reveal any evident issues. The only problem I found there is minor and likely unrelated (it's fixed already in upcoming 2024.1).
Please could you try taking CPU snapshots while the code analysis for the corresponding files is being performed?

1) Help > Diagnostic tools > Start CPU usage profiling
2) open a file you have problems with, wait for about a minute (or until the code analysis is completed)
3) Help > Diagnostic tools > Stop CPU usage profiling
0

I think the problem is partially in the fact, that  the analysis never ends. 

https://file.io/Bz1uoUQuhgpe

0
The issue looks related to https://youtrack.jetbrains.com/issue/WEB-65230/Ungraceful-handling-of-exception-in-RSC-highlighting that is fixed in 2024.1. Please could you check if you can reproduce it in the next 2024.1 EAP (https://www.jetbrains.com/phpstorm/nextversion/) when it's available?
0

Same issue in 2024.1 im afraid

0
The build with the fix is not yet available, it will be included in the next EAP build.
0

ah, okay, got it. The link you provided is to 65230 gives me a 404. Will wait for the next EAP

0

Yeah, looking at WEB-65230, thats exactly it. Seems like the fact that I was missing type definitions for react-helmet, caused these issues. Once I resolved that, it seems to work fine on 2023.3.3.

 

thanks, this is resolved for me

1

请先登录再写评论。