(context: vscode.ExtensionContext)
| 25 | private context: vscode.ExtensionContext; |
| 26 | |
| 27 | constructor(context: vscode.ExtensionContext) { |
| 28 | this.context = context; |
| 29 | this.provider = this.tryResolveProvider().then(provider => { |
| 30 | if (!provider) { |
| 31 | this.showInstallWarning(); |
| 32 | } |
| 33 | return provider; |
| 34 | }); |
| 35 | this.watchExtensionChanges(); |
| 36 | } |
| 37 | |
| 38 | private async tryResolveProvider(): Promise<InterpreterProvider | undefined> { |
| 39 | // Prefer vscode-python-environments if available |
nothing calls this directly
no test coverage detected