Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I highlight library classes differently in Intellij Idea?

I'm trying to configure IntelliJ Idea to highlight classes from the current project and classes from libraries/JDK differently. That would help to easily understand origin of all these classes like Transaction, Request, Query, Column. Also, during debugging, it would allow to step only into lines with code from project (it is usually much more buggy and suspicious).

Yes, I know about Ctrl+hover on symbol/ Ctrl+Q / Smart step into. But visual indication may be much easier to recognize.

Is there a way to get that (maybe with some plugin)?

like image 366
Dmitriusan Avatar asked Nov 19 '25 11:11

Dmitriusan


1 Answers

It might not be exactly what you're asking but it's very similar and could help with differentiating library and project files.

  • Project Files - that's your source code, etc
  • Non-Project Files - files that are from Jar files

Appearance & Behavior > File Colors

like image 175
Jama A. Avatar answered Nov 21 '25 00:11

Jama A.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!