How do you create custom action for Nautilus?

How do you create a custom action for right click menus in Nautilus?
I’d like to create add an option in the right click menu that would open the folder / file in Sublime Text.

You may want to look at how the VSCode extension does it: GitHub - harry-cpp/code-nautilus: VSCode extension for Nautilus

Thank you @rmnvgr - with just a bit of simple tweaks I got it working for Sublime :slight_smile: . Is there some kind of tutorial about writing Nautilus extensions?
Lots of folks seem to don’t know about this feature (or even other, simpler one - creating doc templates).

I’m sorry, I’m not aware of any documentation for this.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.