diff --git a/src/commands/switchSDK.mts b/src/commands/switchSDK.mts index d8b2062e..8fa12771 100644 --- a/src/commands/switchSDK.mts +++ b/src/commands/switchSDK.mts @@ -488,12 +488,13 @@ export default class SwitchSDKCommand extends Command { // notify user that reloading the window is // recommended to update intellisense const reload = await window.showInformationMessage( - "It is recommended to reload the window to update intellisense with the new SDK version.", + "It is recommended to reload the window to update intellisense " + + "with the new SDK version.", reloadWindowBtn ); if (reload === reloadWindowBtn) { - commands.executeCommand("workbench.action.reloadWindow"); + void commands.executeCommand("workbench.action.reloadWindow"); } } } diff --git a/src/utils/vscodeConfigUtil.mts b/src/utils/vscodeConfigUtil.mts index 28eff790..a3b757d2 100644 --- a/src/utils/vscodeConfigUtil.mts +++ b/src/utils/vscodeConfigUtil.mts @@ -40,7 +40,8 @@ async function updateCppPropertiesFile( ); // Add the new pico-sdk forcedInclude config.forcedInclude.push( - `\${userHome}/.pico-sdk/sdk/${newSDKVersion}/src/common/pico_base/include/pico.h` + `\${userHome}/.pico-sdk/sdk/${newSDKVersion}` + + "/src/common/pico_base/include/pico.h" ); // Update the compilerPath