Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display info about (rustlang) modules? #201

Open
mikkelens opened this issue Mar 30, 2023 · 2 comments
Open

Display info about (rustlang) modules? #201

mikkelens opened this issue Mar 30, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@mikkelens
Copy link

I'm interested in whether it would be possible to show what module I am currently working in (rust modules work similar to C# namespaces etc.), as opposed to only displaying what file I am editing.

@mikkelens
Copy link
Author

mikkelens commented Mar 30, 2023

Ideally the rich presence window in discord would show it similar to how you access them in rust/cargo projects, between the vscode folder/workspace and action info, as in between "In aoc2022 - 1 problem found" and "Working on day_9.rs:21:80" could be something like "Under crate::day_9::tests", where 'tests' is the bottom-most module.
I understand if this is way beyond of the scope of the file & extension based approach of this extension, since I imagine it would require quite specific understanding of rust/cargo crate semantics and using editing context more specific than "file" and "cursor position", I just want to know what the consensus on this is.

@xhayper
Copy link
Collaborator

xhayper commented Mar 30, 2023

This is gonna require a total rework of the extension

@xhayper xhayper added the enhancement New feature or request label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants