Check if Package is in Workspace
Hallo,
i have a question considering the packages i got from the root package.
My goal is to get only the packages that are actually in the workspace.
However when i use getPackages() from the root package, it seems to show all the packages that are in the Folder.
Is there a way to find out which of the packages were actually created by the user, and therefore are contained in the actual workspace?
Thanks a lot for your help,
Tobi
Please sign in to leave a comment.
What exactly do you mean by "workspace"? There is no such concept in IntelliJ IDEA.
Thank you for your quick answer.
I already found what i needed. What i ment with workspace was the packages that are actually created by the user in the runtime environment.
I managed to do what i wanted by limiting the Searchscope to my project only.