Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

UUID not gray when commented #177

Open
ChristopheQuintard opened this issue Jul 24, 2023 · 1 comment
Open

UUID not gray when commented #177

ChristopheQuintard opened this issue Jul 24, 2023 · 1 comment
Assignees
Labels

Comments

@ChristopheQuintard
Copy link

When code is commented in Intellij, it is gray and no part is bold. When the UUID plugin is installed, UUID are always colored and bold.
image

@leomillon leomillon self-assigned this Jul 25, 2023
@leomillon leomillon added the bug label Jul 25, 2023
@leomillon
Copy link
Owner

Hello!

Thanks for the report, it's indeed a problem with the current implementation: I parsed the code content without any specific language information just to be able to match any UUID format in it.

The good thing about this method is that it's working everywhere for everyone! The drawback is that it's very hard with this method to known what's the context "around" the found UUID.

To be honest:

  • I plan to rewrite everything with the new plugin system available with the newest versions of IntelliJ IDEA
  • Each language should have it's proper "parsing implementation" and the current strategy could be used as a fallback for "unidentified content".
  • I currently dont have much time to do anything on this plugin 😕

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants