Skip to content

Commit 956fc9c

Browse files
committed
Remove deprecated "updates" related command in favor of project dependency management // Resolve platformio#3219
1 parent 7376f02 commit 956fc9c

File tree

3 files changed

+0
-39
lines changed

3 files changed

+0
-39
lines changed

package.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -163,21 +163,6 @@
163163
"title": "Start Debugging",
164164
"category": "PlatformIO"
165165
},
166-
{
167-
"command": "platformio-ide.updateGlobalLibs",
168-
"title": "Update global libraries",
169-
"category": "PlatformIO"
170-
},
171-
{
172-
"command": "platformio-ide.updatePlatforms",
173-
"title": "Update platforms & packages",
174-
"category": "PlatformIO"
175-
},
176-
{
177-
"command": "platformio-ide.updateCore",
178-
"title": "Update All (platforms, packages, libraries)",
179-
"category": "PlatformIO"
180-
},
181166
{
182167
"command": "platformio-ide.upgradeCore",
183168
"title": "Upgrade PlatformIO Core to the latest version",

src/main.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,6 @@ class PlatformIOVSCodeExtension {
255255
vscode.commands.executeCommand('workbench.debug.action.toggleRepl');
256256
vscode.commands.executeCommand('workbench.action.debug.start');
257257
}),
258-
vscode.commands.registerCommand('platformio-ide.updateGlobalLibs', () =>
259-
this.pioTerm.sendText('pio lib --global update')
260-
),
261-
vscode.commands.registerCommand('platformio-ide.updatePlatforms', () =>
262-
this.pioTerm.sendText('pio platform update')
263-
),
264-
vscode.commands.registerCommand('platformio-ide.updateCore', () =>
265-
this.pioTerm.sendText('pio update')
266-
),
267258
vscode.commands.registerCommand('platformio-ide.upgradeCore', () =>
268259
this.pioTerm.sendText('pio upgrade')
269260
)

src/views/quick-access-tree.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,6 @@ export default class QuickAccessTreeProvider {
5656
new QuickItem('Toggle Debug Console', 'workbench.debug.action.toggleRepl'),
5757
]
5858
),
59-
new QuickItem(
60-
'Updates',
61-
undefined,
62-
undefined,
63-
vscode.TreeItemCollapsibleState.Expanded,
64-
[
65-
new QuickItem('Library Updates', 'platformio-ide.showHome', [
66-
'/libraries/updates',
67-
]),
68-
new QuickItem('Platform Updates', 'platformio-ide.showHome', [
69-
'/platforms/updates',
70-
]),
71-
new QuickItem('Update All', 'platformio-ide.updateCore'),
72-
]
73-
),
7459
new QuickItem(
7560
'Miscellaneous',
7661
undefined,

0 commit comments

Comments
 (0)