Library roots / sdk filter roots
Answered
Hi! In Java, we got an icon next to each library root. I was wondering what is causing this? I'm also wondering if it's possible to filter the files in each library root.
I currently have something like this, and there are files that shouldn't be listed here
I'm currently using this to add a root,
sdkModificator.addRoot(libraryRoot, OrderRootType.CLASSES);
I'm also wondering, should I ask this kind of question somewhere else? I only have a JetBrains account, so I'm not using StackOverflow or Slack.
Please sign in to leave a comment.
Hi Quentin,
com.intellij.projectViewNodeDecorator
extension point.com.intellij.treeStructureProvider
extension point.Understood! Thanks, I will check these.
BTW, I forgot to mention IntelliJ Platform Explorer, so you can check example implementations:
I implemented both and it works! Thanks!