diff --git a/README.md b/README.md index f8ec86a1c..ba8e82c93 100644 --- a/README.md +++ b/README.md @@ -140,6 +140,7 @@ Click F1 to show Visual studio code actions, then type **ESP-IDF** to | Open NVS Partition Editor | | | | Pick a workspace folder | | | | Remove Editor coverage | | | +| Save Default SDKCONFIG file (save-defconfig) | | | | SDK Configuration editor | I G | Ctrl E G | | Search in documentation... | I Q | Ctrl E Q | | Select Flash Method | | | diff --git a/src/espIdf/menuconfig/saveDefConfig.ts b/src/espIdf/menuconfig/saveDefConfig.ts index c4b6bdcd8..07cffd4bd 100644 --- a/src/espIdf/menuconfig/saveDefConfig.ts +++ b/src/espIdf/menuconfig/saveDefConfig.ts @@ -68,7 +68,7 @@ export async function saveDefSdkconfig( TaskManager.addTask( { type: "esp-idf", - command: "IDF Save Default SDKCONFIG", + command: "ESP-IDF: Save Default SDKCONFIG", taskId: "idf-defconfig-task", }, curWorkspaceFolder || TaskScope.Workspace, diff --git a/src/extension.ts b/src/extension.ts index bdde82bc3..010293383 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -1787,7 +1787,8 @@ export async function activate(context: vscode.ExtensionContext) { }); registerIDFCommand("espIdf.saveDefSdkconfig", async () => { - PreCheck.perform([openFolderCheck], () => { + const idfVersionCheck = await minIdfVersionCheck("5.0", workspaceRoot); + PreCheck.perform([idfVersionCheck, openFolderCheck], () => { vscode.window.withProgress( { cancellable: true,