Replies: 4 comments
-
I think this can be really interesting to make language agnostic, specially in conjunction with #757 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Instead of using a regex, with tree-sitter we can provide an accurate tree with more layers of information |
Beta Was this translation helpful? Give feedback.
0 replies
-
Before using tree sitter tho, we can provide an imenu with regex (similar to what GNU Emacs or ur version does) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
imenu is one of the features I miss the most.
It is true that, in CL, we can easily navigate a code base with
find-definitions
(tryC-.
on a blank line, we can choose any symbol of the image), but it isn't the same. With imenu, I can navigate effectively in the current file.Here's a very poor man snippet:
At first I wanted to grab the line numbers when parsing the file:
this returns a triple, thus I don't know how to make the string completion prompt work with it.
Nor do I know how we would make the feature language agnostic.
Beta Was this translation helpful? Give feedback.
All reactions