Skip to content

Commit

Permalink
Merge branch 'release/v1.10.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Nov 20, 2019
2 parents 0bfc8a5 + 50bcccd commit 2a3052b
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 43 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release Notes

# 1.10.0 (2019-11-20)

- Minimal requirements for PlatformIO Core is >=4.1.0
- Added PIO Check project task
- Added "Inspect" and "Projects & Configuration" items to "Activity Bar > PlatformIO > Quick Access > PIO Home" (issue [#1302](https://github.com/platformio/platformio-vscode-ide/issues/1302))
- Automatically shutdown PIO Home server after 1-hour inactivity
- Ignore PIO Home from Proxy using `NO_PROXY` environment variable
- PlatformIO Core Installer:
* Updated default Python installer to 3.7.5
* Check Python's "urllib" SSL module
* Skip Python from msys, mingw, emacs installations (issue [#1353](https://github.com/platformio/platformio-vscode-ide/issues/1353))

# 1.9.3 (2019-10-29)

- Handle "openTextDocument" in VSCode from upcoming PIO Home 3.0 and Project Inspect
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# PlatformIO IDE for VSCode

**The next generation integrated development environment for embedded development**
**A new generation toolset for embedded C/C++ development**

[PlatformIO](https://platformio.org) is an open-source ecosystem for professional embedded development.
Cross-platform build system and unified debugger. Remote unit testing and firmware updates.
[PlatformIO](https://platformio.org) is a new generation ecosystem for embedded development.

* Open source, maximum permissive Apache 2.0 license
* Cross-platform IDE and Unified Debugger
* Static Code Analyzer and Remote Unit Testing
* Multi-platform and Multi-architecture Build System
* Firmware File Explorer and Memory Inspection.

**Platforms**: Atmel AVR, Atmel SAM, Espressif 32, Espressif 8266, Freescale Kinetis, Infineon XMC, Intel ARC32, Intel MCS-51 (8051), Kendryte K210, Lattice iCE40, Maxim 32, Microchip PIC32, Nordic nRF51, Nordic nRF52, NXP LPC, RISC-V, Samsung ARTIK, Silicon Labs EFM32, ST STM32, ST STM8, Teensy, TI MSP430, TI Tiva, WIZNet W7500

Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "platformio-ide",
"version": "1.9.3",
"version": "1.10.0",
"publisher": "platformio",
"engines": {
"vscode": "^1.24.0"
Expand Down Expand Up @@ -587,25 +587,25 @@
"vscode:package": "webpack --mode production && vsce package"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@types/node": "^10",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.7.0",
"eslint": "^6.0.1",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-plugin-import": "^2.14.0",
"prettier": "1.18.2",
"vsce": "^1.53.2",
"vscode": "^1.1.22",
"webpack": "^4.26.1",
"webpack-cli": "^3.1.2"
"@babel/core": "~7.7.2",
"@types/node": "~10",
"babel-eslint": "~10.0.1",
"babel-loader": "~8.0.4",
"babel-plugin-transform-class-properties": "~6.24.1",
"babel-preset-env": "~1.7.0",
"eslint": "~6.6.0",
"eslint-import-resolver-webpack": "~0.11.1",
"eslint-plugin-import": "~2.18.2",
"prettier": "~1.19.1",
"vsce": "~1.69.0",
"vscode": "~1.1.22",
"webpack": "~4.41.2",
"webpack-cli": "~3.3.10"
},
"dependencies": {
"fs-plus": "^3.1.1",
"platformio-node-helpers": "^5.2.0",
"platformio-vscode-debug": "^1.2.11"
"fs-plus": "~3.1.1",
"platformio-node-helpers": "~6.0.0",
"platformio-vscode-debug": "~1.2.11"
},
"extensionDependencies": [
"ms-vscode.cpptools"
Expand Down
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
export const IS_WINDOWS = process.platform.startsWith('win');
export const IS_OSX = process.platform == 'darwin';
export const IS_LINUX = !IS_WINDOWS && !IS_OSX;
export const PIO_CORE_MIN_VERSION = '4.0.0';
export const PIO_CORE_MIN_VERSION = '4.1.0';
export const CONFLICTED_EXTENSION_IDS = [
'llvm-vs-code-extensions.vscode-clangd',
'vsciot-vscode.vscode-arduino'
Expand Down
2 changes: 1 addition & 1 deletion src/installer/python-prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class PythonPrompt {

async prompt() {
const selectedItem = await vscode.window.showInformationMessage(
'PlatformIO: Can not find Python 2.7 or 3.5+ Interpreter',
'PlatformIO: Can not find working Python 2.7 or 3.5+ Interpreter. Please install the latest Python 3 and restart VSCode',
{ title: 'Install Python', isCloseAffordance: false },
{ title: 'I have Python', isCloseAffordance: false },
{ title: 'Try again', isCloseAffordance: false },
Expand Down
42 changes: 22 additions & 20 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,33 @@ import vscode from 'vscode';

export async function notifyError(title, err) {
const description = err.stack || err.toString();
const ghbody = `# Description of problem
Leave a comment...
const action = 'Report a problem';
const selected = await vscode.window.showErrorMessage(description, action);
if (selected === action) {
const ghbody = `# Description of problem
Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
- https://github.com/platformio/platformio-vscode-ide/issues
# Configuration
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
- https://github.com/platformio/platformio-vscode-ide/issues
VSCode: ${vscode.version}
PIO IDE: v${getIDEVersion()}
System: ${os.type()}, ${os.release()}, ${os.arch()}
# Configuration
# Exception
\`\`\`
${description}
\`\`\`
`;
const reportUrl = pioNodeHelpers.misc.getErrorReportUrl(title, ghbody);

VSCode: ${vscode.version}
PIO IDE: v${getIDEVersion()}
System: ${os.type()}, ${os.release()}, ${os.arch()}
let action = 'Report a problem';
if (!reportUrl.includes('issues/new')) {
action = 'Check available solutions';
}

# Exception
\`\`\`
${description}
\`\`\`
`;
vscode.commands.executeCommand(
'vscode.open',
vscode.Uri.parse(pioNodeHelpers.misc.getErrorReportUrl(title, ghbody))
);
const selected = await vscode.window.showErrorMessage(description, action);
if (selected === action) {
vscode.commands.executeCommand('vscode.open', vscode.Uri.parse(reportUrl));
}
console.error(err);
}
Expand Down
4 changes: 4 additions & 0 deletions src/views/quick-access-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ export default class QuickAccessTreeProvider {
[
new QuickItem('Open', 'platformio-ide.showHome'),
new QuickItem('PIO Account', 'platformio-ide.showHome', ['/account']),
new QuickItem('Inspect', 'platformio-ide.showHome', ['/inspect']),
new QuickItem('Projects & Configuration', 'platformio-ide.showHome', [
'/projects'
]),
new QuickItem('Libraries', 'platformio-ide.showHome', ['/libraries']),
new QuickItem('Boards', 'platformio-ide.showHome', ['/boards']),
new QuickItem('Platforms', 'platformio-ide.showHome', ['/platforms']),
Expand Down

0 comments on commit 2a3052b

Please sign in to comment.