diff options
| author | Elias Holzmann <9659253+EliasHolzmann@users.noreply.github.com> | 2023-10-08 03:52:15 +0200 |
|---|---|---|
| committer | Elias Holzmann <9659253+EliasHolzmann@users.noreply.github.com> | 2023-10-09 20:11:53 +0200 |
| commit | e8372e04840a113c7aedb9cc5c7f387014d09e0b (patch) | |
| tree | d0ff3c0f9e3c09032fa53e2d61284bc670711e16 /editors/code/src/client.ts | |
| parent | 3dfc1bfc67c9779ec3c936c1987349ac77cd8af4 (diff) | |
| download | rust-e8372e04840a113c7aedb9cc5c7f387014d09e0b.tar.gz rust-e8372e04840a113c7aedb9cc5c7f387014d09e0b.zip | |
vscode: Support opening local documentation if available
Displaying local instead of web docs can have many benefits: - the web version may have different features enabled than locally selected - the standard library may be a different version than is available online - the user may not be online and therefore cannot access the web documentation - the documentation may not be available online at all, for example because it is for a new feature in a library the user is currently developing If the documentation is not available locally, the extension still falls back to the web version.
Diffstat (limited to 'editors/code/src/client.ts')
| -rw-r--r-- | editors/code/src/client.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index ba8546763ec..96e888402ba 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -389,6 +389,7 @@ class ExperimentalFeatures implements lc.StaticFeature { serverStatusNotification: true, colorDiagnosticOutput: true, openServerLogs: true, + localDocs: true, commands: { commands: [ "rust-analyzer.runSingle", |
