Platformio-vscode-ide: command 'platformio-ide.showHome' not found

Created on 5 Jan 2020  Â·  15Comments  Â·  Source: platformio/platformio-vscode-ide

Version: 1.41.1
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:57:51.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 19.2.0

no have any icon at toolbar and use command+shitf+p open platformio home fail

help wanted

Most helpful comment

True.
I had Active Only On PlatformIO Project.
Now that I turned that setting off I see the HOME icon.

This could have been a the issue from the start.

All 15 comments

I'm having this same problem
Version: 1.42.0
Commit: ae08d5460b5a45169385ff3fd44208f431992451
Date: 2020-02-06T10:51:23.649Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.5.2-arch1-1

Same here

Version: 1.45.1
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:22.494Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-51-generic

Having the same issue

Hi,

Thanks for the report! We rewrote PlatformIO Core installer from the scratch. Please download and install the latest PlatformIO IDE for VSCode 2.0 Beta as described in Try Beta section on that page.

Please respond to this thread if it helped you or you still have an issue. We will reopen this issue again.

Regards,
Your friends at PlatformIO

New Beta didn't help but removing ~/.vscode folder and running vscode again and THEN installing platformIO did resolve the issue.

Actually, if there is no platformio.ini in the workspace folder the issue appears.
Even an empty platformio.ini file makes it work.

Could someone provide step by step instruction how to reproduce this issue?

  1. Create a new empty directory
>> mkdir test
>> cd test
  1. open vscode from there
>> code .
  1. In VSCode go to Command Palette CTRL+SHIFT+P and run PlatformIO: Home

You get the error

Command 'PlatformIO: Home' resulted in an error (command 'platformio-ide.showHome' not found)

Do you see HOME icon at the bottom of toolbar? It seems that you disable PlatformIO IDE extension in VSCode settings. If you enable it only for the PlatformIO project, you can't use it when the project is not open.

Did you enable Activate Only On PlatformIO Project?

True.
I had Active Only On PlatformIO Project.
Now that I turned that setting off I see the HOME icon.

This could have been a the issue from the start.

We can't fix this issue. The problem is with VSCode. The commands are declared in a static file https://github.com/platformio/platformio-vscode-ide/blob/develop/package.json#L92

Even if extension is not active, VSCode shows for user these commands :( As result, you run command but there is no handler for it because extension is not active :(

I met same problem,how to solve it?

@be-engineer what is your OS? Do you use the latest VSCode and PlatformIO IDE? Try to remove %HOME_DIR%/.platformio folder and restart VSCode.

This issue tends to happen if you have not used your VSCode with PlatformIO for a while.
Uninstall and re-install PlatformIO.

unchecking the Platformio-ide: Activate Only On Platform IOProjectsetting and closing out and reopening vscode fixed it for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PabloAbraham picture PabloAbraham  Â·  5Comments

chenjingyuanku picture chenjingyuanku  Â·  8Comments

ButchAnton picture ButchAnton  Â·  8Comments

Zukatomo picture Zukatomo  Â·  7Comments

baget picture baget  Â·  8Comments