[Plugin Dev] How to create a File picker

How to create a File picker, do we have any openapi

0

I coded like this, this is worked. thanks everyone .

     String path = "/Users/twer/Downloads/";
        VirtualFile[] files = FileChooser.chooseFiles(FileChooserDescriptorFactory.createSingleFolderDescriptor(), event.getProject(), null);
        if (files.length > 0) {
            path = files[0].getPath();
        }

1

请先登录再写评论。