This repository was archived by the owner on Nov 18, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
### Unreleased
2
2
3
3
* Expand ` ~ ` in ` rust-client.{rustup,rls}Path ` settings
4
+ * Deprecate ` rust-client.useWSL ` setting (use [ Remote - WSL] ( https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl ) extension instead)
4
5
5
6
### 0.6.1 - 2019-04-04
6
7
Original file line number Diff line number Diff line change 1
- import { workspace , WorkspaceConfiguration } from 'vscode' ;
1
+ import { window , workspace , WorkspaceConfiguration } from 'vscode' ;
2
2
import { RevealOutputChannelOn } from 'vscode-languageclient' ;
3
3
4
4
import { getActiveChannel , RustupConfig } from './rustup' ;
@@ -26,6 +26,14 @@ export class RLSConfiguration {
26
26
private constructor ( configuration : WorkspaceConfiguration , wsPath : string ) {
27
27
this . configuration = configuration ;
28
28
this . wsPath = wsPath ;
29
+
30
+ if ( this . configuration . get < boolean > ( 'rust-client.useWSL' ) ) {
31
+ window . showWarningMessage (
32
+ 'Option `rust-client.useWsl` is enabled for this workspace, which is DEPRECATED.\
33
+ For a complete and first-class WSL support try Remote - WSL extension \
34
+ extension (https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl)' ,
35
+ ) ;
36
+ }
29
37
}
30
38
31
39
public static loadFromWorkspace ( wsPath : string ) : RLSConfiguration {
You can’t perform that action at this time.
0 commit comments