Feature Description
/scripts - Typescript code for extension
/img - Image assets for extension and description
/typings - Typescript typings
details.md - Description to be shown in marketplace
index.html - Main entry point
vss-extension.json - Extension manifest
- Clone the repository
npm install
to install required local dependenciesnpm install -g grunt
to install a global copy of grunt (unless it's already installed)grunt
to build and package the application
Three basic grunt
tasks are defined:
build
- Compiles TS files inscripts
folderpackage
- Builds the vsix packagepublish
- Publishes the extension to the marketplace usingtfx-cli
Note: To avoid tfx
prompting for your token when publishing, login in beforehand using tfx login
and the service uri of https://market.visualstudio.com
.
The VSTS framework is setup to initalize the requirejs AMD loader, so just use import Foo = require("foo")
to include framework modules.
The included .vscode
config allows you to open and build the project using VS Code.