Skip to content

Commit 7574c05

Browse files
authored
Merge pull request #177 from paulober/develop
Patch v3.6.0
2 parents 0ee67c1 + 30ae2df commit 7574c05

21 files changed

+1290
-302
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"out",
3838
"dist",
3939
"**/*.d.ts",
40-
"./vscodeUninstall.mjs"
40+
"./vscodeUninstall.mjs",
41+
"web"
4142
],
4243
"env": {
4344
"node": true,

.vscodeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ rollup.config.mjs
1414

1515
.github/**
1616
scripts/**
17+
images/*.xcf
1718

1819
# instance files
1920
connection_state.json
@@ -26,3 +27,4 @@ azure-pipelines.yml
2627
!dist/scripts/*.py
2728
dist/scripts/__pycache__
2829
!mpy_stubs/
30+
!web/

CHANGELOG.md

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

1111
---
1212

13+
## [3.6.0] - 2023-12-27
14+
15+
# Added
16+
- `micropico.executeOnConnect` setting to execute a script on the Pico after connecting ([#153](https://github.com/paulober/MicroPico/issues/153) and [#176](https://github.com/paulober/MicroPico/issues/176))
17+
- `micropico.importOnConnect` setting to import a module in vREPL after connecting ([#153](https://github.com/paulober/MicroPico/issues/153))
18+
- MicroPico Device Controler for managing wifi connection and to install mip packages (experimental)
19+
- Upload-file command is now available in the explorer context menu
20+
21+
# Changed
22+
- Fix #172, Documentation mentions sync button
23+
- Fixes dynamic command enablement
24+
- Fixes tab in multiline input in vREPL does trigger autocomplete and does not indent
25+
- Adjusts settings scopes
26+
- Updated dependencies
27+
1328
## [3.5.0] - 2023-11-22
1429

1530
# Added

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ Works with:
1616
- Auto-completion with docs
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
19-
- Built-in virtual-workspace provider for Raspberry Pi Pico (W) boards
19+
- Built-in virtual-workspace provider for Raspberry Pi Pico (W) boards (does disable Pylance auto-completion)
2020
- Switch between auto-completion and IntelliSense for MicroPython ports RPi Pico, RPi Pico (W) and ESP32 (requires pip installed an in PATH)
21+
- Device Manager UI for managing wifi connection and installing mip packages (only on Pico-W; experimental)
2122

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

@@ -72,7 +73,7 @@ This extension contributes the following settings:
7273

7374
* `micropico.autoConnect`: Ignores any 'device address' setting and automatically connects to the top item in the serial-port list (of Picos).
7475
* `micropico.manualComDevice`: If autoConnect is set to false MicroPico will automatically connect to the serial port specified here.
75-
* `micropico.syncFolder`: This folder will be uploaded to the pyboard when using the sync button. Leave empty to sync the complete project. (only allows folders within the project). Use a path relative to the project you opened in vscode, without leading or trailing slash.
76+
* `micropico.syncFolder`: This folder will be uploaded to the pyboard when using the upload-project command/button. Leave empty to sync the complete project. (only allows folders within the project). Use a path relative to the project you opened in vscode, without leading or trailing slash.
7677
* `micropico.additionalSyncFolders`: Specifies additional folders that can be selected as upload sources when uploading a project. If left empty, the sync will be performed based on the folder specified in the 'syncFolder' setting. Only folders within the project are allowed. Specify the path relative to the project you have opened in Visual Studio Code, without a leading or trailing slash.
7778
* `micropico.syncAllFileTypes`: If enabled, all files will be uploaded no matter the file type. The list of file types below will be ignored.
7879
* `micropico.syncFileTypes`: All types of files that will be uploaded to the board, seperated by comma. All other filetypes will be ignored during an upload (or download) action.
@@ -81,6 +82,8 @@ This extension contributes the following settings:
8182
* `micropico.statusbarButtons`: Select which buttons to show in the statusbar (DO NOT CHANGE, unless you know what you are doing)
8283
* `micropico.gcBeforeUpload`: Run garbage collection before uploading files to the board. This will free up some memory usefull when uploading large files but adds about a second or two to the upload process.
8384
* `micropico.softResetAfterUpload`: Soft-resets your board after any upload action. Usefull if you are developing with `main.py` or `boot.py`.
85+
* `micropico.executeOnConnect`: Path to a MicroPython script on the Pico to execute on connect. Leave empty to disable. (must be relative to the root of the Pico's filesystem; doesn't need to begin with a slash; overrides `micropico.openOnStart` setting)
86+
* `micropico.importOnConnect`: A MicroPython module to import in vREPL on connect. Leave empty to disable.
8487

8588
## Extension Context Keys
8689

images/logo-black.png

16.3 KB
Loading

images/logo-black.svg

Lines changed: 47 additions & 0 deletions
Loading

images/logo-black.xcf

2.24 MB
Binary file not shown.

images/refresh-dark.svg

Lines changed: 1 addition & 0 deletions
Loading

images/refresh-light.svg

Lines changed: 1 addition & 0 deletions
Loading

images/wifi-connected.svg

Lines changed: 57 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)