Selected folder/file path in Project View

Hello,
This is my first post in the forum and sorry if it is the wrong sub. I’m currently developing an extension which simply iterates through all the files in a directory and exports them as a single text file. I extended the menu in “ProjectView.File” but it works on any file/folder. When I right-click on the file/folder it shows the extension in the menu but it does not work on the selected folder; I have to select the folder manually by promptDirectory(). Then I have to select where to export the newly generated text file (and it makes 2 steps with prompt popups) I think this is a long process and my teammates sometimes confuse which prompt to choose the folder first and exporting file in the last step.

What I want is to find a way to locate the folder that is currently clicked(or selected) in the Project view. And I think it would be a great step for the developers creating their own extensions.

I’d appreciate if it is added in the upcoming versions. (Or if there is a way, I can create my own fork and implement it if you guide me a little bit) I’m desperately in need! :slight_smile: Thanks a lot!