kh-bd / interp4j-intellij-plugin

Intellij plugin to support interp4j library
3 stars 1 forks source link

Static's in `s()`. #32

Open KhadanovichSergey opened 1 month ago

KhadanovichSergey commented 1 month ago

There is a problem with usage of static members inside s() call. Intellij is not recognized such members as used in a file. Imports are not highlighted and Optimize import action deletes such import from a file.

For example,

import java.util.UUID; // not highlighted as used in a file

String text = s("id=${UUID.randomUUID()}");
KhadanovichSergey commented 3 weeks ago

At this moment, there is no way to fix that problem. https://intellij-support.jetbrains.com/hc/en-us/community/posts/19283653886482-Not-highlighted-imports?page=1#community_comment_19530660049426