Greetings! I need to populate a menu with a list of serial ports. I can generate the list in python no problem, but how can I get that information to the menu?
Thanks for any help. I’ve got a very exciting build plugin in the works!
Greetings! I need to populate a menu with a list of serial ports. I can generate the list in python no problem, but how can I get that information to the menu?
Thanks for any help. I’ve got a very exciting build plugin in the works!
OK, I realized that I could put a list of dummy items in the sublime-menu file then use is_visible() / description() to control what shows up. Is there a better way? Thanks!