-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New command #7612
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
Comments
Isn't this already available? |
their is only a |
Yes, and it works for both std items and external creates. Do you want one that opens the current crate docs? Current module? Item? |
it depends on published docs, so it's not up to date when you use git versions |
i'm trying to implement it myself, so i can make a pull request later, but i don't understand how to start the development mode of the extension, ...
"activationEvents": [
"onLanguage:rust",
"onCommand:rust-analyzer.analyzerStatus",
"onCommand:rust-analyzer.memoryUsage",
"onCommand:rust-analyzer.reloadWorkspace",
"workspaceContains:**/Cargo.toml"
],
... but the new editor start with an empty file. So what i'd like to know is, i'm starting the développement mode right, and if it is, how i'm supposed to test what i change since i can't activate the extension in dev mode. |
The extension should activate once you open a Rust project. I'm not sure if you need to do anything else to set up debugging. |
@lnicola I'm looking for something like this myself. The current |
@andrewbanchich It should work with private sites as long as the crate correctly sets the |
I'm not sure I understand the exact feature requested here, but if this is about adding a new command that opens local documentation instead of the web documentation: This is available via the old command since a few weeks ago, see #15728. This issue can therefore be closed, I believe. |
Indeed, if the local docs have been built, the command will open the local ones instead now, falling back to the web docs. |
Feature :
Adding a command to open cargo doc
Why :
Lazy people (me) love to do less, so i'd like to know if it's possible to add a command so that i just have to
crtl+shift+p
> open docand it'll start the doc on the web. (execute
cargo doc --open
in a new terminal under the hood)The text was updated successfully, but these errors were encountered: