Unclutter by overriding Package Menu?


#1

Hello DamnedScholar and members. :smiley:

Is there a way to override the functionality of the menu items in Config.CSON / Stylesheet.LESS as you would text size / font / background colour ++?

The current PACKAGE menu is cluttered and I would love to organise it somewhat. I would even suggest that the ATOM Package creators think about creating and adopting a sub-menu organisation structure. It can be a community curated recommendation and specification (think PEP8 / PEP257 / ++).

[picture follow in next post]

I would think a good place to start is understanding how Atom grabs all the “Menu” information to compile the menu structure as we see it in Atom.

Any ideas or thoughts where to start looking for answers?

  • Dan Padric

#2

Work-around:


#3

There’s no good way to do this. It’s possible to completely hijack the menu and only display what you want, but it’s not a simple thing. Maybe a package could be written to make it simpler for users, but I haven’t explored that.


#4

The link you gave does not seem to be helpful for this purpose… but it is where I would expect it to be. Perhaps there are other commands not published in the public API documents that might be able to do what you suggest.

I would even think of stepping up to develop a Package. But to commit to something like that as a n00b is asking for trouble.

Atom is probably finitely configurable. Maybe I’ll just have to keep my OCD in check… or customize all Packages. OR make a feature request to extend the API.

Nice chatting to you.


#5

Oh, it’s helpful, but like I said, it’s not simple. To see what I mean, open the developer console and type atom.menu in. It will show you an object that you can expand. Expand template, then 5, then submenu. If you expand 0 from there, you should see label: "Atom Beautify", and you can expand its submenu to see its specific items.


#6

I apologise; I stand corrected. What you mention is something to explore and build on. I will have to see if these items can be manipulated.

Inner look:
Source: Atom Menu Manager

Many thanks!!