From 78bab55779fbaf6377fac7ecbfb94b73867b8b71 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 11 Sep 2020 16:45:27 +0300 Subject: [PATCH 1/6] Integrate stale bot --- .github/stale.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/stale.yml diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..93fd2fe --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,20 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 60 +# 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 From 46dfa4d9c82c70b9b9b88d29966516acce7db0bd Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 12 Sep 2020 13:43:12 +0300 Subject: [PATCH 2/6] Rename task view to "Project Tasks" --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 88eac63..0d019cc 100644 --- a/package.json +++ b/package.json @@ -440,7 +440,7 @@ "platformio": [ { "id": "platformio-ide.projectTasks", - "name": "PlatformIO Tasks", + "name": "Project Tasks", "icon": "root-folder", "when": "pioProjectReady" }, From 8543ab77af6f5dc78602f8715ce45d12eefbcd35 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 14 Sep 2020 17:17:24 +0300 Subject: [PATCH 3/6] Reduce daysUntilStale to 30 for stale issues --- .github/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/stale.yml b/.github/stale.yml index 93fd2fe..1de3567 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,5 +1,5 @@ # Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 +daysUntilStale: 30 # Number of days of inactivity before a stale issue is closed daysUntilClose: 7 # Issues with these labels will never be considered stale From 5a513825c7cbba8b7cf4b1ebb37ca9e21e303d2b Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 16 Sep 2020 14:33:08 +0300 Subject: [PATCH 4/6] Updated PlatformIO Core installer to 0.3.5 --- CHANGELOG.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b08f29..2bbfaf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Release Notes +## 2.1.0 (2020-09-16) + +* 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) diff --git a/package.json b/package.json index 0d019cc..5e29c18 100644 --- a/package.json +++ b/package.json @@ -573,7 +573,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", @@ -621,7 +621,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": [ From a2705967e76a42230efb1323571d0bda10f8ee3a Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 16 Sep 2020 14:34:56 +0300 Subject: [PATCH 5/6] Added a new setting ``platformio-ide.autoPreloadEnvTasks`` to enable automatic preloading of the project environment tasks // Resolve #2004 --- CHANGELOG.md | 1 + package.json | 5 +++++ src/tasks/project.js | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bbfaf9..0fa9852 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 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) diff --git a/package.json b/package.json index 5e29c18..6cec5fb 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/tasks/project.js b/src/tasks/project.js index ff3614f..23a9535 100644 --- a/src/tasks/project.js +++ b/src/tasks/project.js @@ -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(); From ba6b9a1b6236c6c6c7f62c2ee5f1d574807898d4 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 16 Sep 2020 14:35:33 +0300 Subject: [PATCH 6/6] Bump version to 2.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6cec5fb..2796f64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "platformio-ide", - "version": "2.0.1", + "version": "2.1.0", "publisher": "platformio", "engines": { "vscode": "^1.44.0"