Sublime Forum

Add new entry in Ruler menu

#1

I want to add a new entry in the Ruler menu (72, to be compatible with this advice). Should I just add my new entry to Main.sublime-menu in Default? Or can I somehow ‘extend’ the existing menu? I’ve tried this by placing a Main.sublime-menu that contains the just relevant entry in my User folder, but this just created a duplicate Ruler menu entry.

0 Likes

#2

The ruler menu doesn’t have an id assigned to it, so it’s not possible to add a new entry in that manner, unfortunately. You’ll need to edit the default menu.

0 Likes

#3

Thanks, that’s what I ended up doing. Is there any particular reason for there not being an id? Seems like it would make sense for every menu to have one in order to make them more easily extensible.

0 Likes