about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-22 14:42:25 +0000
committerbors <bors@rust-lang.org>2022-04-22 14:42:25 +0000
commitb6b5214c666b64cf9125bebc39d6a8ad08262870 (patch)
tree8457b2b26355314199cafa40473d2fad5c56f7fc /src/test/codegen/src-hash-algorithm
parent1db66b96c897f45f67e24081dbe726ddc536388c (diff)
parentd607c1b558b434d60846ce3052da0058e761a530 (diff)
downloadrust-b6b5214c666b64cf9125bebc39d6a8ad08262870.tar.gz
rust-b6b5214c666b64cf9125bebc39d6a8ad08262870.zip
Auto merge of #12053 - willcrichton:master, r=jonas-schievink
Export lc.LanguageClient from VSCode extension

As described in [this Zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/Use.20Rust.20Analyzer.20in.20another.20VSCode.20extension), I would like to experiment with using Rust Analyzer's language server inside another VSCode extension, [Flowistry](https://github.com/willcrichton/flowistry). My current use case is to use one of Rust Analyzer's assists (extract function).

This PR would enable that experimentation by exporting the `lc.LanguageClient` from the `activate` function, which [allows other extensions to access it](https://code.visualstudio.com/api/references/vscode-api#extensions). This PR does **not** commit RA to any stability guarantees about the language client, similar to how rustc exports an unstable API.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions