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?   

 

1
6 comments

and I don't want show  'External Libraries'  and the 'Scratches and Consoles' 

0

The first question - you can mark the directory as excluded 

0

The most similar scene is like  git diff result 

I want show some specific file  in the view panel。

0

is there any way I can make it like below( just list file without dir)

0

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

0

Please sign in to leave a comment.