Skip to content

Commit 637423f

Browse files
committed
v3.5.0
Signed-off-by: paulober <[email protected]>
1 parent 0e45677 commit 637423f

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ All notable changes to the "MicroPico" extension will be documented in this file
1010

1111
---
1212

13+
## [3.5.0] - 2023-11-22
14+
15+
# Added
16+
- `micropico.extra.switchStubs` command to switch between MicroPython stubs for different MicroPython versions and ports (RPi Pico, RPi Pico (W) and ESP32) (Thanks to @Josverl) (Fixes #164)
17+
18+
# Changed
19+
- Updated dependencies
20+
21+
# Removed
22+
- Settings auto-update workaround from the extension renaming process (Fixes #164)
23+
1324
## [3.4.3] - 2023-11-10
1425

1526
# Changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
"MicroPico" is a Visual Studio Code extension designed to simplify and accelerate the development of MicroPython projects for the Raspberry Pi Pico and Pico W boards. This tool streamlines the coding process, providing code highlighting, auto-completion, code snippets, and project management features, all tailored for the seamless development experience with MicroPython on Raspberry Pi Pico and Pico W microcontrollers.
44

5-
> __Auto-completion based on Raspberry Pi Pico W MicroPython firmware: [RPI_PICO_W-20231005-v1.21.0.uf2](https://micropython.org/resources/firmware/RPI_PICO_W-20231005-v1.21.0.uf2) from the [micropython-stubs project](https://github.com/Josverl/micropython-stubs)__
5+
> __Included auto-completion based on Raspberry Pi Pico W MicroPython firmware: [RPI_PICO_W-20231005-v1.21.0.uf2](https://micropython.org/resources/firmware/RPI_PICO_W-20231005-v1.21.0.uf2) from the [micropython-stubs project](https://github.com/Josverl/micropython-stubs)__
66
77
Works with:
88
| Platform | x64 | arm64 | armhf |
@@ -17,6 +17,7 @@ Works with:
1717
- Pseudo terminal integration for communication with MicroPython REPL on a Pico (w) board (with support for tab-completion)
1818
- Running / Transferring files to / from your board
1919
- Built-in virtual-workspace provider for Raspberry Pi Pico (W) boards
20+
- Switch between auto-completion and IntelliSense for MicroPython ports RPi Pico, RPi Pico (W) and ESP32 (requires pip installed an in PATH)
2021

2122
![Preview](images/preview.gif)
2223

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pico-w-go",
33
"displayName": "MicroPico",
44
"description": "Auto-completion, remote workspace and a REPL console integration for the Raspberry Pi Pico (W) with MicroPython firmware.",
5-
"version": "3.4.3",
5+
"version": "3.5.0",
66
"publisher": "paulober",
77
"license": "MPL-2.0",
88
"homepage": "https://github.com/paulober/MicroPico/blob/main/README.md",

src/activator.mts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,11 @@ export default class Activator {
10831083
Object.entries(await fetchAvailableStubsVersions()).forEach(
10841084
([key, values]) => {
10851085
// Map each value to "key - value" and push to resultArray
1086-
versions.push(...values.map(value => `${key} - ${value}`));
1086+
versions.push(
1087+
...values.map(
1088+
value => `${stubPortToDisplayString(key)} - ${value}`
1089+
)
1090+
);
10871091
}
10881092
);
10891093

0 commit comments

Comments
 (0)