clutcher / bh

Issue tracker for Better Highlights Intellij IDEA plugin
7 stars 0 forks source link

Not working keyword highlighting in Clion with enabled Reshaper #109

Closed N1ceL closed 3 months ago

N1ceL commented 5 months ago

изображение

Unfortunately, this plugin does not work as it should, and there is no alternative to it. I hope it can be fixed (at least the keywords detection for typdefs and instruction with enabled ReSharper)

clutcher commented 5 months ago

@N1ceL

P.S. For me it works as expected in Rider for cpp file. 2024-05-01_10-35-16

N1ceL commented 5 months ago

@clutcher

clutcher commented 5 months ago

@N1ceL so you are using CLion with that "resharper" checkbox not Rider?

clutcher commented 5 months ago

@N1ceL

So right now it looks like that I should check if uint32 can work as "keyword" for Clion+Resharper? Am I right or missed something from your request?

N1ceL commented 5 months ago

@clutcher Thanks for the help with RegExp. Yes, it looks like enabled "Clion -> Advanced Settings -> ReSharper" breaks something in keyword highlighting, however RegExp works with ReSharper. I think my problem is not important, keyword highlighting won't work with ReSharper, but RegExp is now normal

clutcher commented 5 months ago

@N1ceL

clutcher commented 5 months ago

@N1ceL Are you using Windows? In https://blog.jetbrains.com/clion/2023/11/clion-nova/#notable_differences is written that this is Windows only thing, that could explain, why on my Linux instance there are no issues.

N1ceL commented 5 months ago

@clutcher Everything works fine through RegExp, I'll just use it instead of Keywords. Yes, this happens on Windows with ReSharper only and only for Keywords, RegExp is fine,

clutcher commented 5 months ago

@N1ceL Regexp is much slower compared to keywords. I will keep this bug open and will find a way how to investigate what's going on with Windows+Resharper.

clutcher commented 3 months ago

@N1ceL It was a long journey... So Jetbrains did major changes with that "Resharper" checkbox with fully disabled big part of functionality and bugs in fallback scenarious. There are a bunch of tickets relates to this issues:

It took for me some time to rewrite code and return most part of functionality back with CLion Nova engine. I would release it this week.

clutcher commented 3 months ago

Should be fixed in 2024.1.26.