We’re happy to announce the first beta version of the upcoming PlatformIO IDE for VSCode 2.0.
UPDATED: The final release is out!
Regards,
Your friends at PlatformIO
We’re happy to announce the first beta version of the upcoming PlatformIO IDE for VSCode 2.0.
UPDATED: The final release is out!
Regards,
Your friends at PlatformIO
IVAN! Why did you have to do this to me… I only just deleted my penv and let PlatformIO-VSCode reinstall last night as I realised I was still on python27!
Cleared out penv, python37 and cached install files. Started VSCode up again. Installed without a hiccup. Restarted VSCode, and yes, startup time re: core verification does seem a lot quicker. And nothing seems broken after a couple of quick test builds (AVR, ESP8266) on Windows 10-1909.
This might also be an opportunity to get Update / upgrade progress for IDEs · Issue #2 · platformio/platformio-node-helpers · GitHub out of the way also? If you throw in a few status messages … i.e something along the lines of the following would at least indicate some progress / which stage fails, if any.
Downloading Python work environment... [OK | FAIL]
Unpacking Python work environment... [OK | FAIL]
Getting PlatformIO dependencies... [OK | FAIL]
Thanks for the test!
Issue #2 is a little bit different. It means to show progress when we do project indexing. It also can take some time when packages are not installed by dev-platform.
As for the progress with installer, yes, need to think what is good to show to end user. Python, virtual environment, built-in Python - these are our internal things and I’m sure generic embedded developer does not want to know something like this. He needs and IDE to work on embedded projects. In any case, we are agree that having better progress should help when connection speed is slow and user thinks that installer got stuck.
Ah, ok, yes, that is a bit different. And yes, it makes sense to not show more technical stuff to embedded developers… I was actually thinking when I saw from the logging used in the 1.9.x extension that it seemed to be divided into eight stages… so it could have been a simple as Installing PlatformIO.... Step # of 8 complete
. However it’s done, just some way to show overall progress or movement, rather than a randomly blinking cursor or spinner. Anyway, this isn’t really related to this announcement, so I’ll stop now
The next beta of PlatformIO IDE for VSCode 2.0.0-beta.2 is out!
Please follow Install Beta steps in PlatformIO IDE for VSCode 2.0 Beta – Help us with testing!
Please note that you will need to update all dev-platforms via PIO Home > Platform > Updates
or pio update
to see new Platform tasks in explorer.
Regards,
Your friends at PlatformIO.
Hi @ivankravets, Congratulations!! looking forward to the release and might test too.
There is one issue not related to platformio but pyserial which take good amount of time (probably for windows user?) for scanning and opening the ports when bluetooth COM ports are installed on the system. I have probably 6 BT COM ports on my system and pio device list takes about ~12.5s to list all the devices. Pyserial validate all the com ports be opening(?) so maybe that is why it is taking time.
This issue has been posted on pyserial too but since the repo is frozen for over years now, no one is looking at the issue.
Since pyserial is very core part of PlatformIO, solving this would be helpful to solve problem like this:
@ivankravets Three things have recently changed (OS update: W10 to 20.04, VSCode just updated to 1.46, and PIO-VSCode-2.0-Beta2 extension) so my apologises in advance if this is a red herring. I will try rolling back to beta1 to see if the Beta2 extension is the culprit or not, though.
First run of VSCode+PlatformIO-beta2 since updating the OS, and every single time I re-open VSCode, or open a new window, the platformio startup check is now longer, and it is trying to download python-portable-windows_amd64-3.7.7.tar.gz
again (and fails). Closing VSCode, and manually putting a downloaded version of the file in .cache
instead of the zero byte file results in no change in behaviour.
Edit: Just re-installed the beta1 extension, and the startup speed is back to normal, and no attempt to re-download the python runtime. So maybe something in the beta2 extension, or get-platformio-0.3.2.py
?
The next beta of PlatformIO IDE for VSCode 2.0.0-beta.3 is out!
Please follow Install Beta steps in PlatformIO IDE for VSCode 2.0 Beta – Help us with testing!
Please note that you will need to update all dev-platforms via PIO Home > Platform > Updates
or pio update
to see new Platform tasks in explorer.
Regards,
Your friends at PlatformIO.
Sorry, this is our bug. Please upgrade to Beta 3 PlatformIO IDE for VSCode 2.0 Beta – Help us with testing! - #8 by ivankravets
Can confirm that fixed it. Hazards of running a beta version Loving the Tasks panel that doesn’t need you to switch to the PIO sidebar panel, and the grouped tasks listings!
The next beta of PlatformIO IDE for VSCode 2.0.0-beta.4 is out!
Please follow Install Beta steps in PlatformIO IDE for VSCode 2.0 Beta – Help us with testing!
Please note that you will need to update all dev-platforms via PIO Home > Platform > Updates
or pio update
to see new Platform tasks in explorer.
Regards,
Your friends at PlatformIO.
Thanks for the feedback! You should love Beta 4 - see PlatformIO IDE for VSCode 2.0 Beta – Help us with testing!
We don’t plan to add more features. If there are no critical issues, we will release it soon
Yes, Beta4 has added a much desired feature! No issues so far (give me time … I’ll break it! :).
Just a clarification if you don’t mind of intended operation… using the below screenshot for reference… when I click 1 to set the ‘active environment’ … should BOTH 2 and 3 build only that environment, or just 3 (and the keyboard shortcut)? As I got myself confused when 3 worked fine, and then later hit 2, and it promptly built all eight environments (including rebuild of 7… since I just let it go)…
In other words, is 2 intended to always refer to ‘build all’, and 3/keyboard shortcut just the ‘active environment’ (1)?
The next beta of PlatformIO IDE for VSCode 2.0.0-beta.5 is out!
Please follow Install Beta steps in PlatformIO IDE for VSCode 2.0 Beta – Help us with testing!
Please note that you will need to update all dev-platforms via PIO Home > Platform > Updates
or pio update
to see new Platform tasks in explorer.
Regards,
Your friends at PlatformIO.
Yes, this is correct behavior otherwise we will not be able to process ALL environments. For example, quick deployment, quick tests, etc. I’ve just published a new Beta 5. Thanks that reported this issue:
Hi @ivankravets! I just installed PIO 2.0.0-beta5
and Core 4.4.0a3
, compiled all my projects, so far so good! The whole process was flawless. I really like the “PLATFORMIO TASKS” side windows and also the ability to change the environment, I was missing these features!!
I would like to give pio package pack/publish
a test ride, is the library registry ready yet?
Oh btw, I use VSCode 1.46 and macOS 10.15.5.
Great, that’s what I thought it was. And the fix in Beta5 to append ‘All’ only when there are multiple environments is perfect. Thank you!
Thanks! We will contact you. I hope we should have something public this week.
A thought… Would ‘General’ be better than ‘Generic’? I was initially going to say ‘Basic’ (to compliment ‘Advanced’), but these are the tasks in use all the time… so not really ‘basic’!
Thanks! Fixed! I’m not so expert in English