Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Switch to standard implementation method. #936

Merged
merged 2 commits into from
Jul 14, 2018
Merged

Switch to standard implementation method. #936

merged 2 commits into from
Jul 14, 2018

Conversation

ZoeyR
Copy link
Contributor

@ZoeyR ZoeyR commented Jul 11, 2018

This PR removes the custom FindImpls method and replaces it with the standard GotoImplementation method from version 3.6.0 of the LSP.

Cargo.toml Outdated
@@ -44,3 +44,6 @@ json = "0.11"
[features]
default = []
clippy = ["clippy_lints"]

[patch.crates-io]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just to get the ci builds to pass until languageserver-types merges their PR and releases a version.

@ZoeyR
Copy link
Contributor Author

ZoeyR commented Jul 11, 2018

This will have to be coordinated with the vscode extension somehow since it adds a custom menu command to make use of the old FindImpls method.

@ZoeyR ZoeyR changed the title [WIP] Switch to standard implementation method. Switch to standard implementation method. Jul 11, 2018
@ZoeyR
Copy link
Contributor Author

ZoeyR commented Jul 11, 2018

languageserver-types has now published version 0.45 with support for the correct ServerCapabilities. This PR should now be ready.

@Xanewok Xanewok merged commit 2b57851 into rust-lang:master Jul 14, 2018
@Xanewok
Copy link
Member

Xanewok commented Jul 14, 2018

Works good, thanks!

Xanewok added a commit to Xanewok/rls-vscode that referenced this pull request Jul 14, 2018
Xanewok added a commit to Xanewok/rls-vscode that referenced this pull request Jul 14, 2018
fj pushed a commit to fj/rls-vscode that referenced this pull request Feb 17, 2019
nemethf added a commit to nemethf/rls that referenced this pull request Nov 22, 2019
rustDocument/implementations is not in use.  Fix rust-lang#1593

@Xanewok:
> We're not using it anymore since rust-lang#936 but the documentation is outdate.
nemethf added a commit to nemethf/rls that referenced this pull request Nov 22, 2019
rustDocument/implementations is not in use.  Fix rust-lang#1593

@Xanewok:
> We're not using it anymore since rust-lang#936 but the documentation is outdate.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants