Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Autogenerate c_cpp_properties.json #1107

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
322ed0b
Branch for the implementation of the automagical IntelliSense configu…
elektronikworkshop Feb 5, 2020
fd398c7
* More documentation on this project
elektronikworkshop Feb 5, 2020
0e4a47b
* More investigations and documentation, especially on intrinsic/buil…
elektronikworkshop Feb 6, 2020
2e290ee
* Added IntelliSense compiler parsing engine code
elektronikworkshop Feb 6, 2020
064d97a
* Fixed some formatting issues (vscode preview renders differently li…
elektronikworkshop Feb 6, 2020
23feb5a
Fixed some spelling mistakes
elektronikworkshop Feb 6, 2020
1623ba8
Improved line splitting of built-in include parser after commenting o…
elektronikworkshop Feb 6, 2020
e0cc57d
* Moved pre-build command into separate member function to reduce cod…
elektronikworkshop Feb 6, 2020
c8792c4
* Notes regarding settings
elektronikworkshop Feb 6, 2020
2cff69f
Fixed spelling.
elektronikworkshop Feb 7, 2020
2d7feb5
* Added a global configuration switch which allows the IntelliSense a…
elektronikworkshop Feb 7, 2020
cce1350
Added two more TODOs to branch documentation
elektronikworkshop Feb 7, 2020
8655f26
Added even more TODOs to branch documentation
elektronikworkshop Feb 7, 2020
0067092
Moved TODO in branch documentation
elektronikworkshop Feb 7, 2020
8b11b31
Documenting ...
elektronikworkshop Feb 8, 2020
55d1832
Moved compiler parser to cocopa package for better testability and ma…
elektronikworkshop Feb 8, 2020
11d2473
Fixed tslint complaints
elektronikworkshop Feb 8, 2020
1d74d57
Fixed misspelled function name
elektronikworkshop Feb 8, 2020
cc3f1b0
Updated earned :beers:
elektronikworkshop Feb 8, 2020
2b62236
Fixed package.json programming language complaint
elektronikworkshop Feb 8, 2020
e07d3a5
Added IntelliSense setup auto-generation project (sketch-context) con…
elektronikworkshop Feb 8, 2020
6f36565
Try to generate IntelliSense configuration even when the compilation …
elektronikworkshop Feb 8, 2020
28586df
Incorporated the latest progress from cocopa development
elektronikworkshop Feb 9, 2020
31d11d1
* Fixes the line splitting regex as outlined in https://github.com/mi…
elektronikworkshop Feb 9, 2020
c6c0c50
* Fixed regression introduced with adaptions to latest version of cocopa
elektronikworkshop Feb 9, 2020
984e2e4
* Added more serial monitor ideas from [John Lonergan](https://github…
elektronikworkshop Feb 9, 2020
859f298
Moved arduino specifics from cocopa to vscode-arduino
elektronikworkshop Feb 9, 2020
8b88087
* More unit testing within cocopa.
elektronikworkshop Feb 10, 2020
6df35f1
Minor documentation rub
elektronikworkshop Feb 10, 2020
eb57811
Moved intellisense function to a separate file
elektronikworkshop Feb 10, 2020
d761c77
Updated packages to resolve some conflicts
elektronikworkshop Feb 12, 2020
02cf92e
Added instructions how to run development code
elektronikworkshop Feb 12, 2020
b85bd94
More on beta testing, added link to chat room
elektronikworkshop Feb 12, 2020
6bb8244
Note how to run vscode without having gulp on your user path
elektronikworkshop Feb 12, 2020
6215d79
Updated beer money log
elektronikworkshop Feb 15, 2020
b61f7fc
Updated branch notes -- documented changes not committed though.
elektronikworkshop Feb 15, 2020
8e617f2
Reworked arduino build interface by merging "upload", "upload using p…
elektronikworkshop Feb 17, 2020
645cadd
Merge changes from upstream master into intellisense-autoconfig
elektronikworkshop Feb 17, 2020
7ee5f9e
Disabled and marked all previous implementations of IntelliSense supp…
elektronikworkshop Feb 17, 2020
d483735
Updated project log
elektronikworkshop Feb 18, 2020
558c3e3
Don't use hard coded paths when possible.
elektronikworkshop Feb 18, 2020
8477dca
New classes which will improve the device settings management and eve…
elektronikworkshop Feb 18, 2020
664af56
* Added/documented all known related issues
elektronikworkshop Feb 18, 2020
bdb0e73
Updated project log and status
elektronikworkshop Feb 19, 2020
fb77b9f
* Updated and completed documentation of the current state within REA…
elektronikworkshop Feb 19, 2020
6c8c11d
Minor adjustment on README.md
elektronikworkshop Feb 19, 2020
8840f51
IntelliSense auto-analysis integration
elektronikworkshop Feb 19, 2020
282d629
Updated log and beers.
elektronikworkshop Feb 19, 2020
4f6409d
Added "some" additional issues -- currently I've found 28!
elektronikworkshop Feb 19, 2020
1009ed3
Fixed wrong issue number and adjusted comment
elektronikworkshop Feb 19, 2020
fd24b3c
Updated log, status and beers
elektronikworkshop Feb 20, 2020
19d34c1
Forgot to stage this additional edit - it's definitely too late
elektronikworkshop Feb 20, 2020
bb344cb
Removed obsolete doc folder as all this is now part of cocopa
elektronikworkshop Feb 21, 2020
c7ae849
Fixed handling of invalid manual configurations. Improved code locali…
elektronikworkshop Feb 22, 2020
0f9c4dd
Better phrasing
elektronikworkshop Feb 22, 2020
8973722
Updated log and beers
elektronikworkshop Feb 22, 2020
11e57e6
Forgot to stage this with c7ae8497bf1b4978a83ba9fe5f4572f5560a74d4
elektronikworkshop Feb 22, 2020
4c885ca
Updated to latest cocopa which features X-platform support and better…
elektronikworkshop Feb 22, 2020
175f87a
IntelliSense config generator:
elektronikworkshop Feb 22, 2020
9fac641
* Updated branch log and beers
elektronikworkshop Feb 22, 2020
4e8494e
* Added message to end of each build to inform user how to update the…
elektronikworkshop Feb 23, 2020
715d99f
Minor formatting fixes in branch notes
elektronikworkshop Feb 23, 2020
4d5126b
Fixed linting
elektronikworkshop Feb 23, 2020
36967b4
Updated log and beers
elektronikworkshop Feb 23, 2020
363d325
* Implemented and tested support for `.cpp`-sketches.
elektronikworkshop Feb 25, 2020
ced9e56
* Removed code marked with `IS-REMOVE` previously
elektronikworkshop Feb 26, 2020
27c65e7
Reworked util.spawn to mergable version
elektronikworkshop Feb 26, 2020
ec9769c
Added/reviewed some notes
elektronikworkshop Feb 26, 2020
2b4ee8e
Changed Serial.updatePortListStatus to make use of optional argument …
elektronikworkshop Feb 26, 2020
f9f2fe1
Added missing error log and refined some documentation comments
elektronikworkshop Feb 26, 2020
9da4354
Updated log
elektronikworkshop Feb 26, 2020
78c6550
Final pull request dependency style for cocopa
elektronikworkshop Feb 26, 2020
5dac517
Updated beers
elektronikworkshop Feb 26, 2020
07d16f5
Added link to alpha releases to top of document
elektronikworkshop Feb 26, 2020
07e31e3
Spelling
elektronikworkshop Feb 26, 2020
1b7eafe
Fixed linting
elektronikworkshop Feb 26, 2020
3319e8f
* Run IntelliSense analysis for every build
elektronikworkshop Feb 27, 2020
c7e5be2
Build/analysis logging improvements for Windows
elektronikworkshop Feb 27, 2020
cbcbb14
Fixed build logging for Linux and OSX after having it ruined with pre…
elektronikworkshop Feb 27, 2020
f15d0ee
Fixed bug in board.ts: Conceptual flaw when checking if configuration…
elektronikworkshop Feb 27, 2020
c4779ef
Fixed exception which occurs if one of the include directories doesn'…
elektronikworkshop Feb 27, 2020
501668a
* Filtering out invalid include directories (discovered when compilin…
elektronikworkshop Feb 27, 2020
3243d24
* Building always verbosely but upload only verbosely when requested
elektronikworkshop Feb 27, 2020
9920abb
Collapsing multiple consecutive newlines into a single newline for no…
elektronikworkshop Feb 27, 2020
f605fc3
IntelliSense auto gen respected global and project specific dis-/enab…
elektronikworkshop Feb 27, 2020
657ba01
Added post build command support:
elektronikworkshop Feb 27, 2020
0ba7b16
Added missing "'" in log message
elektronikworkshop Feb 28, 2020
6c5de45
Moved some methods to cocopa and got rid of the typed-promisify depen…
elektronikworkshop Feb 28, 2020
882f94d
Section which outlines additional features this branch addresses
elektronikworkshop Feb 28, 2020
c51f566
C++ standard is now parsed from compiler arguments
elektronikworkshop Feb 28, 2020
4fb0d4c
* Error logging for exceptions during build cleanup
elektronikworkshop Feb 28, 2020
d576ee6
* Full bash syntax support for pre-/post-build commands on UNIX systems
elektronikworkshop Feb 28, 2020
86ca967
Full cmd support for pre-/post-build commands on Windows
elektronikworkshop Feb 28, 2020
e8945ed
Documentation for pre-/post-build commands and their environment vari…
elektronikworkshop Feb 28, 2020
748ce3c
Updated log, status and beers
elektronikworkshop Feb 29, 2020
2dede72
Better phrasing
elektronikworkshop Feb 29, 2020
2387002
* Fixed bug with build: initializing cocopa too early (was failing if…
elektronikworkshop Feb 29, 2020
5e8bb17
Support for Arduino preferences in `arduino.json`. These preferences …
elektronikworkshop Feb 29, 2020
f223ade
* Validator for `buildPreferences`
elektronikworkshop Feb 29, 2020
648a572
Fixed security issue:
elektronikworkshop Feb 29, 2020
ee6a105
Updated log, additional stuff and beers
elektronikworkshop Feb 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
456 changes: 456 additions & 0 deletions BRANCHNOTES.md

Large diffs are not rendered by default.

70 changes: 68 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ This extension provides several commands in the Command Palette (<kbd>F1</kbd> o
- **Arduino: Upload**: Build sketch and upload to Arduino board.
- **Arduino: Upload Using Programmer**: Upload using an external programmer.
- **Arduino: Verify**: Build sketch.
- **Arduino: Rebuild IntelliSense Configuration**: Forced/manual rebuild of the IntelliSense configuration. The extension analyzes Arduino's build output and sets the Intellisense include paths, defines, compiler arguments accordingly.

## Keybindings
- **Arduino: Upload** <kbd>Alt</kbd> + <kbd>Cmd</kbd> + <kbd>U</kbd> *or* <kbd>Alt</kbd> + <kbd>Ctrl</kbd> + <kbd>U</kbd>
- **Arduino: Verify** <kbd>Alt</kbd> + <kbd>Cmd</kbd> + <kbd>R</kbd> *or* <kbd>Alt</kbd> + <kbd>Ctrl</kbd> + <kbd>R</kbd>
- **Arduino: Rebuild IntelliSense Configuration** <kbd>Alt</kbd> + <kbd>Cmd</kbd> + <kbd>I</kbd> *or* <kbd>Alt</kbd> + <kbd>Ctrl</kbd> + <kbd>I</kbd>

## Options
| Option | Description |
Expand All @@ -67,6 +69,7 @@ This extension provides several commands in the Command Palette (<kbd>F1</kbd> o
| `arduino.disableTestingOpen` | Enable/disable automatic sending of a test message to the serial port for checking the open status. The default value is `false` (a test message will be sent). |
| `arduino.skipHeaderProvider` | Enable/disable the extension providing completion items for headers. This functionality is included in newer versions of the C++ extension. The default value is `false`.|
| `arduino.defaultBaudRate` | Default baud rate for the serial port monitor. The default value is 115200. Supported values are 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 74880, 115200, 230400 and 250000 |
| `arduino.disableIntelliSenseAutoGen` | When `true` vscode-arduino will not auto-generate an IntelliSense configuration (i.e. `.vscode/c_cpp_properties.json`) by analyzing Arduino's compiler output. |

The following Visual Studio Code settings are available for the Arduino extension. These can be set in global user preferences <kbd>Ctrl</kbd> + <kbd>,</kbd> or workspace settings (`.vscode/settings.json`). The latter overrides the former.

Expand Down Expand Up @@ -98,15 +101,78 @@ The following settings are as per sketch settings of the Arduino extension. You
"board": "adafruit:samd:adafruit_feather_m0",
"output": "../build",
"debugger": "jlink",
"prebuild": "bash prebuild.sh"
"prebuild": "./prebuild.sh",
"postbuild": "./postbuild.sh",
"intelliSenseGen": "global"
}
```
- `sketch` - The main sketch file name of Arduino.
- `port` - Name of the serial port connected to the device. Can be set by the `Arduino: Select Serial Port` command. For Mac users could be "/dev/cu.wchusbserial1420".
- `board` - Currently selected Arduino board alias. Can be set by the `Arduino: Change Board Type` command. Also, you can find the board list there.
- `output` - Arduino build output path. If not set, Arduino will create a new temporary output folder each time, which means it cannot reuse the intermediate result of the previous build leading to long verify/upload time, so it is recommended to set the field. Arduino requires that the output path should not be the workspace itself or in a subfolder of the workspace, otherwise, it may not work correctly. By default, this option is not set. It's worth noting that the contents of this file could be deleted during the build process, so pick (or create) a directory that will not store files you want to keep.
- `debugger` - The short name of the debugger that will be used when the board itself does not have a debugger and there is more than one debugger available. You can find the list of debuggers [here](https://github.com/Microsoft/vscode-arduino/blob/master/misc/debuggerUsbMapping.json). By default, this option is not set.
- `prebuild` - External command before building the sketch file. You should only set one `prebuild` command. `command1 && command2` does not work. If you need to run multiple commands before the build, then create a script.
- `prebuild` - External command which will be invoked before any sketch build (verify, upload, ...). For details see the [Pre- and Post-Build Commands](#Pre--and-Post-Build-Commands) section.
- `postbuild` - External command to be run after the sketch has been built successfully. See the afore mentioned section for more details.
- `intelliSenseGen` - Override the global setting for auto-generation of the IntelliSense configuration (i.e. `.vscode/c_cpp_properties.json`). Three options are available:
- `"global"`: Use the global settings (default)
- `"disable"`: Disable the auto-generation even if globally enabled
- `"enable"`: Enable the auto-generation even if globally disabled
- `buildPreferences` - Set Arduino preferences which then are used during any build (verify, upload, ...). This allows for extra defines, compiler options or includes. The preference key-value pairs must be set as follows:
```json
"buildPreferences": [
["build.extra_flags", "-DMY_DEFINE=666 -DANOTHER_DEFINE=3.14 -Wall"],
["compiler.cpp.extra_flags", "-DYET_ANOTER=\"hello\""]
]
}
```

## Pre- and Post-Build Commands
On Windows the commands run within a `cmd`-, on Linux and OSX within a `bash`-instance. Therefore your command can be anything what you can run within those shells. Instead of running a command you can invoke a script. This makes writing more complex pre-/post-build mechanisms much easier and opens up the possibility to run python or other scripting languages.
The commands run within the workspace root directory and vscode-arduino sets the following environment variables:
**`VSCA_BUILD_MODE`** The current build mode, one of `Verifying`, `Uploading`, `Uploading (programmer)` or `Analyzing`. This allows you to run your script on certain build modes only.
**`VSCA_SKETCH`** The sketch file relative to your workspace root directory.
**`VSCA_BOARD`** Your board and configuration, e.g. `arduino:avr:nano:cpu=atmega328`.
**`VSCA_WORKSPACE_DIR`** The absolute path of your workspace root directory.
**`VSCA_LOG_LEVEL`** The current log level. This allows you to control the verbosity of your scripts.
**`VSCA_SERIAL`** The serial port used for uploading. Not set if you haven't set one in your `arduino.json`.
**`VSCA_BUILD_DIR`** The build directory. Not set if you haven't set one in your `arduino.json`.

For example under Windows the following `arduino.json` setup
```json
{
"board": "arduino:avr:nano",
"sketch": "test.ino",
"configuration": "cpu=atmega328",
"prebuild": "IF \"%VSCA_BUILD_MODE%\"==\"Verifying\" (echo VSCA_BUILD_MODE=%VSCA_BUILD_MODE% && echo VSCA_BOARD=%VSCA_BOARD%)"
}
```
will produce
```
[Starting] Verifying sketch 'test.ino'
Running pre-build command: "IF "%VSCA_BUILD_MODE%"=="Verifying" (echo VSCA_BUILD_MODE=%VSCA_BUILD_MODE% && echo VSCA_BOARD=%VSCA_BOARD%)"
VSCA_BUILD_MODE=Verifying
VSCA_BOARD=arduino:avr:nano:cpu=atmega328
Loading configuration...
<...>
```
when verifying.

## IntelliSense
vscode-arduino auto-configures IntelliSense by default. vscode-arduino analyzes Arduino's compiler output by running a separate build and generates the corresponding configuration file at `.vscode/c_cpp_properties.json`. vscode-arduino tries as hard as possible to keep things up to date, e.g. it runs the analysis when switching the board or the sketch.

It doesn't makes sense though to run the analysis repeatedly. Therefore if the workspace reports problems ("squiggles") - for instance after adding new includes from a new library - run the analysis manually:

Manual rebuild: **Arduino: Rebuild IntelliSense Configuration**,
Keybindings: <kbd>Alt</kbd> + <kbd>Cmd</kbd> + <kbd>I</kbd> *or* <kbd>Alt</kbd> + <kbd>Ctrl</kbd> + <kbd>I</kbd>

When the analysis is invoked manually it ignores any global and project specific disable.

### IntelliSense Configurations
vscode-arduino's analysis stores the result as a dedicated IntelliSense-configuration named `Arduino`. You have to select it from the far right of the status bar when you're in one of your source files as shown here:

![74001156-cfce8280-496a-11ea-9b9d-7d30c83765c1](https://user-images.githubusercontent.com/21954933/74351237-2696ea80-4db7-11ea-9f7a-1bfc652ad5f5.png)

This system allows you to setup and use own IntelliSense configurations in parallel to the automatically generated configurations provided through vscode-arduino. Just add your configuration to `c_cpp_properties.json` and name it differently from the default configuration (`Arduino`), e.g. `My awesome configuration` and select it from the status bar or via the command palette command **C/C++: Select a Configuration...**

## Debugging Arduino Code <sup>preview</sup>
Before you start to debug your Arduino code, please read [this document](https://code.visualstudio.com/docs/editor/debugging) to learn about the basic mechanisms of debugging in Visual Studio Code. Also see [debugging for C++ in VSCode](https://code.visualstudio.com/docs/languages/cpp#_debugging) for further reference.
Expand Down
29 changes: 28 additions & 1 deletion ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Visual Studio Code Extension for Arduino incorporates third party material from
18. vscode-extension-telemetry (https://github.com/Microsoft/vscode-extension-telemetry)
19. winreg (https://github.com/fresc81/node-winreg)
20. Winston (https://github.com/winstonjs/winston)

21. cocopa (https://github.com/elektronikworkshop/cocopa)

%% body-parser NOTICES, INFORMATION, AND LICENSE BEGIN HERE
=========================================
Expand Down Expand Up @@ -532,4 +532,31 @@ THE SOFTWARE.
=========================================
END OF Winston NOTICES, INFORMATION, AND LICENSE

%% cocopa NOTICES, INFORMATION, AND LICENSE BEGIN HERE
=========================================
Copyright (C) 2020 Uli Franke - Elektronik Workshop

All rights reserved.

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
=========================================
END OF cocopa NOTICES, INFORMATION, AND LICENSE

32 changes: 32 additions & 0 deletions misc/arduinoValidator.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,38 @@
"description": "Arduino Debugger Settings",
"type": "string",
"minLength": 1
},
"intelliSenseGen": {
"description": "Disable/enable the automatic generation of the IntelliSense configuration file (c_cpp_properties.json) for this project (overrides the global setting). When set to \"global\" the global extension settings will be used.",
"type": "string",
"default": "global",
"enum": [
"global",
"disable",
"enable"
]
},
"prebuild": {
"description": "Command to be run before every build",
"type": "string",
"minLength": 1
},
"postbuild": {
"description": "Command to be run after every build",
"type": "string",
"minLength": 1
},
"buildPreferences": {
"description": "Arduino preferences which are passed to the Arduino back-end during build",
"type": "array",
"items": {
"type":"array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
}
}
}
26 changes: 21 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/Microsoft/vscode-arduino/blob/master/README.md",
"categories": [
"Languages",
"Programming Languages",
"Debuggers",
"Snippets",
"Formatters"
Expand All @@ -37,10 +37,10 @@
"onCommand:arduino.verify",
"onCommand:arduino.upload",
"onCommand:arduino.uploadUsingProgrammer",
"onCommand:arduino.rebuildIntelliSenseConfig",
"onCommand:arduino.selectProgrammer",
"onCommand:arduino.selectSerialPort",
"onCommand:arduino.changeBaudRate",
"onCommand:arduino.addLibPath",
"onCommand:arduino.openSerialMonitor",
"onCommand:arduino.sendMessageToSerialPort",
"onCommand:arduino.closeSerialMonitor",
Expand Down Expand Up @@ -89,6 +89,10 @@
"command": "arduino.uploadUsingProgrammer",
"title": "Arduino: Upload Using Programmer"
},
{
"command": "arduino.rebuildIntelliSenseConfig",
"title": "Arduino: Rebuild IntelliSense Configuration"
},
{
"command": "arduino.selectProgrammer",
"title": "Arduino: Select Programmer"
Expand Down Expand Up @@ -233,7 +237,7 @@
},
"targetArchitecture": {
"type": "string",
"description": "The architecture of the debuggee.",
"description": "The architecture of the debugger.",
"default": "arm"
},
"cwd": {
Expand Down Expand Up @@ -434,6 +438,11 @@
"command": "arduino.upload",
"key": "ctrl+alt+u",
"mac": "cmd+alt+u"
},
{
"command": "arduino.rebuildIntelliSenseConfig",
"key": "ctrl+alt+i",
"mac": "cmd+alt+i"
}
],
"configuration": {
Expand Down Expand Up @@ -489,6 +498,11 @@
"arduino.defaultBaudRate": {
"type": "number",
"default": 115200
},
"arduino.disableIntelliSenseAutoGen": {
"type": "boolean",
"default": false,
"description": "When disabled vscode-arduino will not auto-generate an IntelliSense configuration (i.e. c_cpp_properties.json) by analyzing the compiler output."
}
}
},
Expand Down Expand Up @@ -544,8 +558,9 @@
"devDependencies": {
"@types/compare-versions": "^3.0.0",
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"@types/node": "^6.14.9",
"@types/winreg": "^1.2.30",
"ajv": "^5.0.0",
"del": "^2.2.2",
"eslint": "^4.18.2",
"eslint-config-standard": "^10.2.1",
Expand All @@ -565,12 +580,13 @@
"plugin-error": "^1.0.1",
"tslint": "^5.20.1",
"typemoq": "^1.6.0",
"typescript": "^2.2.1",
"typescript": "^3.7.5",
"vscode": "^1.1.36",
"webpack": "^4.41.2"
},
"dependencies": {
"body-parser": "^1.16.1",
"cocopa": "0.0.13",
"compare-versions": "^3.4.0",
"eventemitter2": "^4.1.0",
"express": "^4.14.1",
Expand Down
Loading