Skip to content

Conversation

@DustinCampbell
Copy link
Member

This change updates the extension and several dependencies to the latest VS Code and TypeScript per the instructions at https://code.visualstudio.com/upgrades/v1_6#_extension-authoring. This lets us get rid of many of our typings files and pull them in with dev-dependencies.

Note: This may require a more recent version of Node on your machine since we're allowing TypeScript to target es6 now.

This change updates the extension and several dependencies to the latest
VS Code and TypeScript per the instructions at
https://code.visualstudio.com/upgrades/v1_6#_extension-authoring.
This change runs unit tests inside of VS Code, making it possible to set
breakpoints and debug test, and to let tests access VS Code services. In
addition, the syntax tests are split out into a separate "npm run
test-syntax" script that runs using Mocha at the command-line. The reason
for this is because the onigurama package used by those tests is
native-compiled, and the compiled binary does not necessarily like running
in VS Code 32-bit on Windows. Ultimately, the syntax tests will be moving
into their own repo, so this is just a temporary measure.
@DustinCampbell
Copy link
Member Author

@gregg-miskelly, adding you to this as well. This allows me to write proper tests for 'tasks.json' and 'launch.json' generation as I work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants