Sublime Forum

Open folder of current file

#1

I would like to open folder of active file at the editor.

Edit: I could not see that there is a context entry at the editor for it. But I would like to add this to tab context.

[code]{ "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"}, "caption": "Open Containing Folder…" },[/code]

I have added this to Tab Context.sublime-menu but although there is not any functional problem, I could not see caption. Why?

Thanks

0 Likes