Check Keymap #101232

Closed
opened 2022-09-21 00:17:20 +02:00 by Tobias Heinke · 2 comments
Member

Autodoc the keymap. Export the keymap from Blender and check the tool shortcuts identified by RNA (hyperlink) targets in the manual.

  1. Ref-boxes ☑️🟦
 Reference directive with shortcuts in a list.
  1. Modal ☑️🟦
 Definition list for modal maps.
  1. Tool lists 🟦🟦
 Def. list with a tool each.
  1. Add-ons 🟦🟦
  2. Free 🟦🟦
  In continuous text.

Problems/ Decision needed:

Manual

• Call UI shortcuts (menu, panel, pie):
Add target and/or comment [or custom directive]:
wm.call_menu.TOPBAR_MT_file_new or bpy.types.TOPBAR_....
Comment with 'bpy' or 'api' prefix to distinguish/ isn't typo?
No caps?

• Duplicate tools:
Add comment or ignore.

• Tool lists identify:
Add targets (a lot, block or in-between) or
get display name or
fuzzy match ID name (last segment) or
wildcard e.g. any text editor tool text.* has shortcut (can't find swaps)

• Add-ons: target or comment:
e.g. Node wrangler node.nw_lazy_connect

Export

• ID name to display name
e.g. mesh.select_all or MESH_OT_select_all.bl_label -> '(De)select All'

• Enum index to display name:
e.g. .select_all.action = 2 -> 'Invert'

• Internal modal maps:
Confirm is inaccessible.
e.g. transform.vert_slide Flip - [x]. Modal map is from transform.

• Modal map owner (optimization):
Instead of find_modal. bl_owner_id is always empty.

Autodoc the keymap. Export the keymap from Blender and check the tool shortcuts identified by RNA (hyperlink) targets in the manual. 1. Ref-boxes ☑️🟦 ``` Reference directive with shortcuts in a list. ``` 2. Modal ☑️🟦 ``` Definition list for modal maps. ``` 3. Tool lists 🟦🟦 ``` Def. list with a tool each. ``` 4. Add-ons 🟦🟦 5. Free 🟦🟦 ``` In continuous text. ``` *Problems/ Decision needed:* **Manual** • Call UI shortcuts (menu, panel, pie): Add target and/or comment [or custom directive]: `wm.call_menu.TOPBAR_MT_file_new` or `bpy.types.TOPBAR_...`. Comment with 'bpy' or 'api' prefix to distinguish/ isn't typo? No caps? • Duplicate tools: Add comment or ignore. • Tool lists identify: Add targets (a lot, block or in-between) or get display name or fuzzy match ID name (last segment) or wildcard e.g. any text editor tool `text.*` has shortcut (can't find swaps) • Add-ons: target or comment: e.g. Node wrangler `node.nw_lazy_connect` **Export** • ID name to display name e.g. `mesh.select_all` or `MESH_OT_select_all.bl_label` -> '(De)select All' • Enum index to display name: e.g. `.select_all.action = 2` -> 'Invert' • Internal modal maps: Confirm is inaccessible. e.g. `transform.vert_slide` Flip - [x]. Modal map is from transform. • Modal map owner (optimization): Instead of `find_modal`. `bl_owner_id` is always empty.
Tobias Heinke self-assigned this 2022-09-21 00:17:20 +02:00
Author
Member

Added subscribers: @Tobias, @Blendify

Added subscribers: @Tobias, @Blendify
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-01-20 04:25:54 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#101232
No description provided.