Skip to content

Commit fbe6f58

Browse files
committed
Rename "platformio-ide.switchProjectEnv" command to the "platformio-ide.pickProjectEnv"
1 parent 173d3ee commit fbe6f58

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
"enablement": "pioCoreReady"
121121
},
122122
{
123-
"command": "platformio-ide.switchProjectEnv",
124-
"title": "Switch Project Environment",
123+
"command": "platformio-ide.pickProjectEnv",
124+
"title": "Pick Project Environment",
125125
"category": "PlatformIO",
126126
"icon": "$(root-folder)",
127127
"enablement": "pioProjectReady"
@@ -427,7 +427,7 @@
427427
],
428428
"view/title": [
429429
{
430-
"command": "platformio-ide.switchProjectEnv",
430+
"command": "platformio-ide.pickProjectEnv",
431431
"when": "pioMultiEnvProject && view == platformio-ide.projectTasks",
432432
"group": "navigation"
433433
},

src/project/manager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,13 @@ export default class ProjectManager {
221221
);
222222
this._sbEnvSwitcher.name = 'PlatformIO: Project Environment Switcher';
223223
this._sbEnvSwitcher.tooltip = 'Switch PlatformIO Project Environment';
224-
this._sbEnvSwitcher.command = 'platformio-ide.switchProjectEnv';
224+
this._sbEnvSwitcher.command = 'platformio-ide.pickProjectEnv';
225225
this._sbEnvSwitcher.text = '$(root-folder) Loading...';
226226
this._sbEnvSwitcher.show();
227227

228228
this.subscriptions.push(
229229
this._sbEnvSwitcher,
230-
vscode.commands.registerCommand('platformio-ide.switchProjectEnv', () =>
230+
vscode.commands.registerCommand('platformio-ide.pickProjectEnv', () =>
231231
this.pickProjectEnv()
232232
)
233233
);

0 commit comments

Comments
 (0)