How to eplore defined elements in a Rust program via Rustic? #500
Unanswered
parvizfarnia
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Probably you are looking for lsp-treemacs: https://github.com/emacs-lsp/lsp-treemacs#lsp-treemacs-symbols ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
With IDE's such as Netbeans, Eclipse, VSCode, etc. one has the possibility of having an explorer as a sidebar which includes the entire project folder with all source files but also everything else: all defined variables, classes, methods, functions, etc.
I use Emacs
Dired
for navigating between files in my project which works fine but for the rest, that is, accessing rapidly different element defined in my Rust programs: Structs, their members, Enums, functions, Traits, etc. so far, I haven't found a user-friendly navigation tool (sidebar).I checked Rustic's documentation, the closest thing that I found was using
xref (M-.)
by selecting a given word in the code. But even that, doesn't seem to work always correctly and does not necessarily take me to the exact location where the specific element is defined in my code.So here is my question: Is it me who doesn't know how to use
rustic
efficiently or it's simply the fact that such functionnalities in terms of code navigation as I explained above are simply missing inrustic
(at least in its current version)?Thansk in advance
Beta Was this translation helpful? Give feedback.
All reactions