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

Direct Link to dependencies #34

Open
MaSven opened this issue Mar 13, 2018 · 2 comments
Open

Direct Link to dependencies #34

MaSven opened this issue Mar 13, 2018 · 2 comments
Labels
enhancement upstream-rls Issues requiring work in the Rust Language Server. Those issues should link to RLS issues.

Comments

@MaSven
Copy link

MaSven commented Mar 13, 2018

When selecting an dependencie in the .toml file it could redirect the user to the crates.io site of it. Kinda like intellij is doing it. This would open the browser with the following url https://crates.io/crates/dependency_name/version .
Dont know what the best approach would be. An icon on the left side of the editor or with an submenu in rightklick.

@mickaelistria
Copy link
Contributor

LSP4E now allows to return an external URL for "definition" request (usually Ctrl+click) or even to make the hover show content of remote HTML IIRC. So it seems to me that the work to have this should be done on the language-server side and that once the LS properly connects to the creates.io site and return it in relevant requests, LSP4E would automatically handle it.

@mickaelistria mickaelistria added the upstream-rls Issues requiring work in the Rust Language Server. Those issues should link to RLS issues. label Mar 22, 2018
@akurtakov
Copy link
Member

Lucas, would you please open issue with rls ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement upstream-rls Issues requiring work in the Rust Language Server. Those issues should link to RLS issues.
Projects
None yet
Development

No branches or pull requests

3 participants