Moved CodeLens to ide crate

This commit is contained in:
ivan770
2021-02-13 13:07:47 +02:00
parent 935830d05b
commit 185da286d2
7 changed files with 388 additions and 202 deletions

View File

@@ -377,3 +377,11 @@ impl Request for OpenCargoToml {
pub struct OpenCargoTomlParams {
pub text_document: TextDocumentIdentifier,
}
/// Information about CodeLens, that is to be resolved.
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub(crate) enum CodeLensResolveData {
Impls(lsp_types::request::GotoImplementationParams),
References(lsp_types::TextDocumentPositionParams),
}