Skip to content

Menu Actions in general #1

@wion

Description

@wion

There are a lot of them, which may not be bad, but it also might be worth considering them all in terms of what people really want/need to bother having in the menus. I mean, if you can type a Txp tag faster than it takes to find an action in a big two tier menu, then we should want to find a better balance there. So with that, some thoughts on the current state of menu actions:

  • Some actions currently work, some don't. The do nots need to have their own issues started and the problems described.
  • A lot of actions of the same key combinations. I don't think that's going to work. That does not mean every action needs a key combination. If we can't feasibly come up with a unique one that isn't too off the wall, then we just don't add an action on that one and require users to click the menu rather than use a key combo. Presumably these would be the less popular actions (perhaps maybe even the ones not needed?)
  • It's possible to exclude actions in the info.plist file using an excludeItems array without removing their files or changing the menu structure. (There's an example of such an array in the Textile.tmbundle's info.plist file.) It's basically the same idea as hiding them until further notice. This might be a good idea for broken actions, or ones that are deemed less desirable.

The following table is a work-in-progress to map actions and their status as they appear in the bundle's main menu. Once complete, it's easier to make global decisions about what actions to keep or not, and which ones need specific issues for fixing, whether to edit menu strings, shortcuts, or actions themselves.

Table 1. Mapping of menu actions.

  • For all cells with '-', data needs filled.
  • For all cells with '?' overall status needs assessed and any problems clarified.
  • Action needs marked with '' (e.g. Name) if it works in relation to a .tmPreference.
Works? Sub-menu Name Shortcut Type Purpose Problems?
no List Categories ^⇧L command ? Purpose unclear. Incomplete setup.
yes txp single tab txps ⇥ snippet Starts new tag as <txp: /> String caps.
? Help Commands Help Single ^H command ? Shortcut.
? Help Commands Help Container ^H command ? Shortcut.
? Help Commands Help Plugin ^H commands ? Shortcut.
? Help Commands Help Attributes ^H command ? Shortcut.
? Help Commands TXP Documentation ^H command Opens Tag Reference docs Shortcut. 'Tags Reference' w/ link to it.
? Navigation Commands Go to Txp File ⇧⌘D command ? Shortcut
? Navigation Commands Go to Txp Tag ⇧⌘D command ? Shortcut
? Navigation Commands Oniguruma Tabbing ^⇧⌘→ macro ? ?
? Navigation Commands Oniguruma Back Tabbing ^⇧⌘← macro ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Tag Automation - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?
? Helpers - - - ? ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    menu actionConcerns main menu actions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions