boltex / leojs

Leo Literate Editor with Outline in Typescript
MIT License
24 stars 0 forks source link

Custom Menus #86

Open tbpassin opened 6 months ago

tbpassin commented 6 months ago

In Leo, the user can add menu items and even entire menus by adding them to the @settings. I realize that VSC menus work differently, but I have come to depend on some of my custom additions. Some of them contain standard Leo commands, some my own command scripts.

Is there going to be a path to creating the equivalent of Leo's custom menus and menu items?

boltex commented 6 months ago

@tbpassin Can you show me screenshots of this in the original Leo? I'm curious to know how to use that and to see buttons made out of @settings instead of @buttons. :)

I didn't know about this feature. I'll take a look at what I can do to have a useful and practical equivalent.

tbpassin commented 6 months ago

Here's a screen shot with three custom menus on it, one of them open. The menus are Local, Bookmarks, and Check Files. leo-custom-menus

I have attached a zip file containing outlines containing menu-building code from @settings trees. custom_menus.zip