gcv / julia-snail

An Emacs development environment for Julia
GNU General Public License v3.0
231 stars 21 forks source link

Improve imenu integration #93

Closed gcv closed 2 years ago

gcv commented 2 years ago

Right now, imenu falls back on julia-mode's regex implementation, which does not understand modules. We have CSTParser here, so we can do this correctly.

Approach: provide a function that imenu-create-index-function can be set to when Snail is active. It should implement debouncing and maybe some result caching.

gcv commented 2 years ago

Done.