(sdkConfigName: string, isWorkspaceSetting: boolean)
| 619 | } |
| 620 | |
| 621 | private async openSettingsFile(sdkConfigName: string, isWorkspaceSetting: boolean) { |
| 622 | await commands.executeCommand( |
| 623 | isWorkspaceSetting ? "workbench.action.openWorkspaceSettingsFile" : "workbench.action.openSettingsJson", |
| 624 | { |
| 625 | revealSetting: { key: sdkConfigName }, |
| 626 | } |
| 627 | ); |
| 628 | } |
| 629 | |
| 630 | private findDartSdk(folders: string[]): SdkSearchResults { |
| 631 | return this.searchPaths(folders, executableNames.dart, (p) => this.containsFile(p, dartVMPath) && this.containsFile(p, analyzerSnapshotPath)); |
no test coverage detected