ee-imenu

ee-imenu - categorized mode-specific buffer indexes

Description

This extension is the replacement for imenu user interface. It is more usable and flexible than original imenu. But ee-imenu still uses imenu's internal structures created by buffer parsing.

Default views

Unsorted

This view emulates the default display of original imenu.

c-path-finder shows category names extracted from imenu internal structures
c-sorter at top shows "Types" category, then "Variables", functions have no category
r-printer prints imenu index headings
r-select switches to the corresponding imenu index in the parent buffer
- Types (1)
   ee-imenu
- Variables (4)
   ee-imenu-mode-name
   ee-imenu-data
   ee-imenu-keymap
  ee-imenu-data-collect
  ee-imenu-data-collect-internal
  ee-imenu-switch-to-buffer
  ee-imenu-switch-to-buffer-other-window
  ee-imenu-display-buffer
  ee-imenu-execute
  ee-imenu-keymap-make-default
  ee-imenu
--:%%  *ee-imenu*/ee-imenu.el  (ee-imenu)--L1--C0--All----------
 

Alphabetical

This view sorts the imenu index names alphabetically under each index category (types, variables, functions).

c-path-finder shows category names extracted from imenu internal structures
c-sorter at top shows "Types" category, then "Variables", functions have no category
r-sorter sorts imenu index headings alphabetically
r-printer prints imenu index headings
r-select switches to the corresponding imenu index in the parent buffer
- Types (1)
   ee-imenu
- Variables (4)
   ee-imenu-data
   ee-imenu-keymap
   ee-imenu-mode-name
  ee-imenu
  ee-imenu-data-collect
  ee-imenu-data-collect-internal
  ee-imenu-display-buffer
  ee-imenu-execute
  ee-imenu-keymap-make-default
  ee-imenu-switch-to-buffer
  ee-imenu-switch-to-buffer-other-window
--:%%  *ee-imenu*/ee-imenu.el  (ee-imenu)--L1--C0--All----------
 

Hierarchical

This view splits index names by "-", and shows them hierarchically.

c-path-finder splits index names by "-"
c-sorter at top shows "Types" category, then "Variables", functions have no category
r-printer prints imenu index headings
r-select switches to the corresponding imenu index in the parent buffer
+ Types (1)
+ Variables (4)
- ee (8)
 - imenu (8)
    ee-imenu
  - data (2)
   - collect (2)
      ee-imenu-data-collect
    - internal (1)
       ee-imenu-data-collect-internal
  + display (1)
  + execute (1)
  + keymap (1)
  + switch (2)
--:%%  *ee-imenu*/ee-imenu.el  (ee-imenu)--L1--C0--All----------
 

TODO

  • Add more views
  • Distinguish functions, variables and types with the same names