mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-08 01:20:53 +00:00
internal: use vscode.FileSystem API in main.ts
This commit is contained in:
parent
2022cfce44
commit
3ca7f61a8d
2 changed files with 5 additions and 5 deletions
|
@ -31,10 +31,10 @@ export class Config {
|
|||
enableProposedApi: boolean | undefined;
|
||||
} = vscode.extensions.getExtension(this.extensionId)!.packageJSON;
|
||||
|
||||
readonly globalStoragePath: string;
|
||||
readonly globalStorageUri: vscode.Uri;
|
||||
|
||||
constructor(ctx: vscode.ExtensionContext) {
|
||||
this.globalStoragePath = ctx.globalStorageUri.fsPath;
|
||||
this.globalStorageUri = ctx.globalStorageUri;
|
||||
vscode.workspace.onDidChangeConfiguration(this.onDidChangeConfiguration, this, ctx.subscriptions);
|
||||
this.refreshLogging();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue