ArtsiomCh / CMake

IntelliJ Platform plugin for CMake basic syntax highlight.
https://plugins.jetbrains.com/plugin/10089-cmake-simple-highlighter
GNU General Public License v3.0
44 stars 7 forks source link

CMake Plus plugin have a probability of "License not found" in some cases #37

Closed XiaoLey closed 1 year ago

XiaoLey commented 1 year ago

Description

If I open or close any tab this time, or start or close any plugin, CMake Plus will have a chance to run normally the next time I start CLion. If I close all the tabs, no matter how many times I restart CLion, it works fine...

What's even weirder is that the problem only seems to be with my current project, however I open other projects with CLion and everything works fine.

I have a feeling that the problem seems to be related to the tabs I have open, but CMake Plus should not be affected by operations unrelated to it.

Could the problem have something to do with the filename of the files I'm opening, or CLion's syntax checking, or maybe the size of the project?

CMake Plus Version: 222.5.0

Installed Plugs

CLion 2022.2.3

Build #CL-222.4167.35, built on September 15, 2022 Runtime version: 17.0.4+7-b469.53 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

ArtsiomCh commented 1 year ago

Thank you for detailed explanation and exploration of the issue! Would you mind to give me the idea.log file to explore? Locating IDE log files

XiaoLey commented 1 year ago

Emailed you

ArtsiomCh commented 1 year ago

Got it, thanks!

ArtsiomCh commented 1 year ago

Looks like I found the root cause of the issue: it's IDE components race condition during startup. Kind of regression of fixed issue Please try this fixed version 222.5.1 and let me now please if the issue is actually fixed.

PS I saw the exceptions in the log from IdeaVim plugin and reported it there.

XiaoLey commented 1 year ago

Now it's working fine.

ArtsiomCh commented 1 year ago

Great! Thank you again for friendly cooperation!