The tutorial extension is displaying a tutorial based on a .json file. One tutorial can have multiple exercise-steps. Each exercise can display different content types but also can execute commands in the terminal, add imports and run checks on the progress of the learner. All of that has to be defined in the .json file inside the workspace.
Feel free to start a discussion by opening an issue on this repo or by contacting us directly via email.
- Install node.js (version >= 6.x.x)
- Update npm (version >= 5.8.0)
- Clone this repository
- Install dependencies:
yarn install
yarn compile
After that press F5
to run the application.
npm install -g vsce
vsce package
Under open-vsx.org register with your GitHub account and generate an Access Token.
npx ovsx create-namespace <name> -p <token>
npx ovsx publish <file> -p <token>
Where name is the extension's publisher
field in the package.json file and file is the path to the .vsix file generated in the first step.
A detailed description of publishing to Open VSX can be found here.
Register on Azure DevOps and create a new organization.
On https://dev.azure.com/{yourorganization}
, open your user settings, then select Personal access tokens and create a New Token with the following settings:
Copy the Personal acces token to use it with
vsce
From the root of the repository:
vsce login <publisher name>
vsce publish
Alternatively the .vsix
file generated with vsce package
could be uploaded manually to the Visual Studio Marketplace publisher management page
More detailed instructions on how to publish the extension on the Visual Studio Marketplace can be found here