avoid prompting for kit selection over and over (#854)
This commit is contained in:
Родитель
23fb04ca27
Коммит
8d607fb3e1
|
@ -13,9 +13,7 @@
|
|||
"stopOnEntry": false,
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/out/*",
|
||||
"${workspaceFolder}/out/src/*",
|
||||
"${workspaceFolder}/out/test/*"
|
||||
"${workspaceFolder}/dist/**/*.js"
|
||||
],
|
||||
"env": {
|
||||
"CMT_DEVRUN": "1"
|
||||
|
|
|
@ -375,6 +375,9 @@ export class CMakeTools implements vscode.Disposable, api.CMakeToolsAPI {
|
|||
this._cmakeDriver = Promise.resolve(null);
|
||||
this._activeKit = null;
|
||||
}
|
||||
} else {
|
||||
// Remember the selected kit for the next session.
|
||||
this.workspaceContext.state.activeKitName = kit.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче