Skip to content

Commit

Permalink
merge and update #34
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdias committed May 22, 2019
2 parents af94f0c + 61c51f2 commit da16925
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions How-to-Contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,17 @@ Run the unit tests directly from a terminal by running `./scripts/test.sh` from

We also have automated UI tests. The [smoke test README](https://github.com/Microsoft/vscode/blob/master/test/smoke/README.md) has all the details.

### Unit Testing
Run the tests directly from a terminal by running `./scripts/test.sh` from the `vscode` folder (`scripts\test` on Windows). The [test README](https://github.com/Microsoft/vscode/blob/master/test/README.md) has complete details on how to run and debug tests, as well as how to produce coverage reports.

### Linting
We use [tslint](https://github.com/palantir/tslint) for linting our sources. You can run tslint across the sources by calling `gulp tslint` from a terminal or command prompt. You can also run `gulp tslint` as a Code task by pressing <kbd>CMD+P</kbd> (<kbd>CTRL+P</kbd> on Windows) and entering `task tslint`. Warnings from tslint show up in the `Errors and Warnings` quick box and you can navigate to them from inside Code.

To lint the source as you make changes you can install the [tslint extension](https://marketplace.visualstudio.com/items/eg2.tslint).

### Extensions
The Visual Studio Marketplace is not available from the `vscode` open source builds. If you need to use or debug an extension you can you can check to see if the extension author publishes builds in their repository (check the `Builds` page) or if it is open source you can clone and build the extension locally. Once you have the .VSIX, you can "side load" the extension either through the command line or using __Install from VSIX__ command in the Extensions View command drop-down ([see more](https://code.visualstudio.com/docs/editor/extension-gallery#_command-line-extension-management) on command line extension management).

## Work Branches
Even if you have push rights on the Microsoft/vscode repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your personal workflow cruft out of sight.

Expand Down

0 comments on commit da16925

Please sign in to comment.