-
Notifications
You must be signed in to change notification settings - Fork 459
Contributing
The instructions below will help you set up your development environment to contribute to this repository. Make sure you've already cloned the repo. 😄
Interested in contributing to the mssql project? There are plenty of ways to contribute, all of which help make the project better.
- Submit a bug report or feature suggestion through the Issue Tracker
- Review the source code changes
- Submit a code fix for a bug (see
Submitting Pull Requests
below) - Participate in discussions or gitter
Windows and Mac OSX: Download and install node from nodejs.org
Linux: Install using package manager
From a terminal ensure at least node 5.4.1 and npm 3:
$ node -v && npm -v
v5.9.0
3.8.2
Note: To get npm version 3.8.2, you may need to update npm after installing node. To do that:
[sudo] npm install npm -g
Install gulp
[sudo] npm install gulp -g
From the root of the repo, install all of the build dependencies:
[sudo] npm install --greedy
Before packaging via gulp, ensure that you have the "vsce" tool installed globally. Otherwise, the package step will fail.
From the root of the repo, run:
[sudo] npm install vsce -g
To build the extension, run the following from the root of the repo:
gulp build
This command will create the out\src and out\test folders at the root of the repository.
Tests should be run with changes. Before you run tests, make sure you have built the extension. Run the following from the root of the repo:
gulp test
To run the tests within Visual Studio Code, change the debug profile to "Launch Tests" and press F5
.
The package command will package the extension into a Visual Studio extension installer (.vsix file). It will also transpile the TypeScript into the out\src and out\test folders.
From the root of the repo:
gulp package
The VSIX package will be created in the root of the repository.
We welcome pull requests! Fork this repo and send us your contributions. Go here to get familiar with GitHub pull requests.
Before submitting your request, ensure that both gulp build
and gulp test
succeed.
- Getting started tutorial
- Enable Integrated Authentication on macOS and Linux using Kerberos
- Manage connection profiles
- Customize keyboard shortcuts
- Customize extension options
- Contributing
- Usage reporting
- OpenSSL configuration (Mac Only)
- Pre-Windows 10 pre-requisite
- Troubleshooting
- Operating Systems
- Releases