Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install platformio-ide extension via marketplace - Extension not listed in marketplace #2032

Closed
hafu opened this issue Sep 26, 2020 · 8 comments

Comments

@hafu
Copy link

hafu commented Sep 26, 2020

On a fresh install of VS Code (OSS) I am unable to install the platformio-ide extension. It is not listed in the search or running the commands described in the documentation.

image

On another machine, where it is already installed the messages ModuleNotFoundError: No module named 'platformio.managers.package'. Maybe they are related.


VS Code OSS:

Version: 1.49.1
Commit: 58bb7b2331731bf72587010e943852e13e6fd3cf
Date: 2020-09-23T22:26:38.399Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.8.10-arch1-1

Manual installation works:

  1. Download C/C++ for Visual Studio Code extension because it is also not in marketplace visibil via code
  2. Install extension: code --install-extension ms-vscode.cpptools-1.0.1.vsix
  3. Download PlatformIO IDE for VSCode extension
  4. Install extension: code --install-extension platformio.platformio-ide-2.1.0.vsix
@hafu hafu changed the title Unable to install platformio-ide extension - Extension not listed Unable to install platformio-ide extension - Extension not listed in marketplace Sep 26, 2020
@hafu hafu changed the title Unable to install platformio-ide extension - Extension not listed in marketplace Unable to install platformio-ide extension via marketplace - Extension not listed in marketplace Sep 26, 2020
@abu-noor
Copy link

Installing visual-studio-code-bin(AUR) (Microsoft-branded release), shows PlatformIO and others. Really didn't want to install the branded one. I could install the extensions manually, but I'm getting lazy in my later years.

@ivankravets
Copy link
Member

Just search for "platformio".

@abu-noor
Copy link

@ivankravets Arch linux's community vscode(code), doesn't show all extensions in the search, platformio being one of them. You have to install the AUR branded ones.

@ivankravets
Copy link
Member

If this is not official VSCode, please use this instruction #1802

@hafu
Copy link
Author

hafu commented Sep 28, 2020

Thanks a lot.

I was confused, because some weeks before it worked without problems. I looked into the changes of the arch package and found the cause, they changed the markedplace url: archlinux/svntogit-community@b62a02e?branch=b62a02ec645f16528c0269faf12e362a55efda75&diff=split

Will go for the temporarily solution.

@etienne-85
Copy link

etienne-85 commented Oct 11, 2020

Hi
I'm also having this issue on Arch.
@hafu do you know why they made this change and if it will be reverted?
what solution did you finally use to install it?

EDIT: I finally followed procedure given by @ivankravets and it worked .

@hafu
Copy link
Author

hafu commented Oct 12, 2020

@etienne1911 I don't know why this change was made and I think it won't be reverted. I assume some license issues. There are the two possible options:

  1. User the workaround (manual installation) mentioned in Publish extensions to open-vsx #1802 or steps in my initial issue
  2. Or use the AUR package visual-studio-code-bin mentioned in the comment

It looks like it will took some time until PlatformIO is available in OpenVSX (which is used by code oss). PlatformIO have some dependencies, which have restrictive licenses. See: EclipseFdn/publish-extensions#86

@Fireflaker
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants