How to grey out not used references ?

Answered

Hi

I have a custom language named Jspresso. 

I would like to grey out not used references candidates, like not used methods or classes for example.

Please point me in the right direction

Maxime




1
2 comments

You will have to implement an inspection or annotator which searches usages (e.g. via ReferencesSearch) and provides the "grey"/"unused" highlight/quickfix(es).

0

Thank you, it works wonder !

0

Please sign in to leave a comment.