The pop-up menu used in the file tree
Create a FilesMenu
Add a block that will be called when the user choose to open a file The block take two argument: the path to the file to open, and a symbol to indicate the kind: :open, :split_open, :tab_open
Add a block that will be called when the user choose to refresh the file tree. The block doesn‘t take an argument.
Open the menu. Specify a path to show where the menu was opened.
[Validate]