Skip to content

Commit

Permalink
Merge branch 'release/v2.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Sep 16, 2020
2 parents 1991133 + ba6b9a1 commit d61b513
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- bug
- debug
- known issue
- feature
- enhancement
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. Please provide more details or it will be closed if no
further activity occurs. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes

## 2.1.0 (2020-09-16)

* Added a new setting ``platformio-ide.autoPreloadEnvTasks`` to enable automatic preloading of the project environment tasks (issue [#2004](https://github.com/platformio/platformio-vscode-ide/issues/2004))
* Renamed "PIO Remote" group of tasks to "Remote Development"
* Updated PlatformIO Core installer to [v0.3.5](https://github.com/platformio/platformio-core-installer/releases/tag/v0.3.5)

## 2.0.1 (2020-09-10)

* Moved "Project Tasks" view back to "PlatformIO" activity (you can now drag it to any location)
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "platformio-ide",
"version": "2.0.1",
"version": "2.1.0",
"publisher": "platformio",
"engines": {
"vscode": "^1.44.0"
Expand Down Expand Up @@ -440,7 +440,7 @@
"platformio": [
{
"id": "platformio-ide.projectTasks",
"name": "PlatformIO Tasks",
"name": "Project Tasks",
"icon": "root-folder",
"when": "pioProjectReady"
},
Expand Down Expand Up @@ -546,6 +546,11 @@
"default": null,
"description": "The build task (label) used for the `Build` button in the bottom toolbar and for key bindings. The default is `PlatformIO: Build`."
},
"platformio-ide.autoPreloadEnvTasks": {
"type": "boolean",
"default": false,
"description": "Automatically preload ALL project environment tasks"
},
"platformio-ide.customPATH": {
"type": [
"string",
Expand Down Expand Up @@ -573,7 +578,7 @@
"platformio-ide.useBuiltinPython": {
"type": "boolean",
"default": true,
"description": "Use a built-in Python 3 Interpreter if available"
"description": "Use a portable Python 3 Interpreter if available"
},
"platformio-ide.useBuiltinPIOCore": {
"type": "boolean",
Expand Down Expand Up @@ -621,7 +626,7 @@
},
"dependencies": {
"fs-plus": "~3.1.1",
"platformio-node-helpers": "~7.2.0",
"platformio-node-helpers": "~7.2.1",
"platformio-vscode-debug": "~1.2.11"
},
"extensionDependencies": [
Expand Down
6 changes: 6 additions & 0 deletions src/tasks/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ export default class ProjectTaskManager {
})
);

if (extension.getSetting('autoPreloadEnvTasks')) {
for (const item of envs) {
await this.onDidLoadEnvTasks(item.name);
}
}

this.addProjectConfigWatcher();
this.controlDeviceMonitorTasks();
this.registerTaskBasedCommands();
Expand Down

0 comments on commit d61b513

Please sign in to comment.