how to create a custom project view panel
Answered
the real project dir tree is :
Project dir
DirA
FileA
FileB
DirB
FileC
FileD
I want the result panel will be
Project dir
DirA
FileA
FileB
ignore DirB 。
is it possible?
Please sign in to leave a comment.
and I don't want show 'External Libraries' and the 'Scratches and Consoles'
The first question - you can mark the directory as excluded
The most similar scene is like git diff result
I want show some specific file in the view panel。
See https://plugins.jetbrains.com/docs/intellij/tree-structure-view.html
is there any way I can make it like below( just list file without dir)
This view is actually a tree (com.intellij.openapi.vcs.changes.ui.ChangesTree). I'm not aware right now of a plain list-view for files in the IDE, you can use UI inspector to find out the actual implementation of UI you want to have https://plugins.jetbrains.com/docs/intellij/internal-ui-inspector.html