looking for some solutions? You are welcome.

SOLVED: Idea plugin: How to make Annotator work for normal file

Joe:

I extend Annotator class and override annotate method. but it only work for '.java' file. Could it work for other file type?

I want to achieve such a function. In a '.conf' file, there are pairs of key-value like 'key_a:val_a' and some expressions like '${key_a}'. then when my mouse cursor on one of these expressions, it could check if the key has declared value or not.

But now, I can't get the PsiElement when my mouse cursor in '.conf' file.



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
Share:

No comments:

Recent