We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
Contributions to this project must be accompanied by a signed Contributor Agreement. You (or your employer) retain the copyright to your contribution, this simply gives us permission to use and redistribute your contributions as part of the project.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
Please make sure your submission passed the lint
, format:check
and test
tasks clean.
There are two parts to a pull request description: Summary and Testing.
Use this as a space to provide details about your new feature. Your summary should primarily focus on what has changed, and why it has changed.
For each pull request, you are expected to test the defaults to make sure no regressions were introduced as part of your change. When adding new features, you are expected to add new test cases that cover the new functionality.
.
├── client // Language Client
│ ├── src
| | └── browser
│ │ | └── extension.ts // Language Client entry point for browser
| | └── node
│ │ └── extension.ts // Language Client entry point for electron
├── package.json // The extension manifest.
└── server // Language Server
└── src
└── browser
| └── server.ts // Language Server entry point for browser
└── node
└── server.ts // Language Server entry point for electron
- Download and install the current NodeJS LTS version.
- Run
npm install
in this folder. This installs all necessary npm modules in both the client and server folder. - Open VS Code on this folder.
- Press Ctrl+Shift+B to compile the client and server.
- Switch to the Debug viewlet.
- Select
Launch Client
from the drop down. - Run the launch config.
- If you want to debug the server as well use the launch configuration
Attach to Server
. - In the [Extension Development Host] instance of VSCode, open a SAS file.
Follow these steps to add a new locale for the SAS Extension for VSCode:
- Follow the instructions in the Get started section to setup your environment and view results.
- Run
npm run locale --new=<locale>
(the locale specified here will need to be one of https://code.visualstudio.com/docs/getstarted/locales#_available-locales). - Translate the strings in
package.nls.<locale>.json
andl10/bundle.l10n.<locale>.json
. - Install the language pack for your chosen locale and change VSCode's language to the one you're testing.
- Verify your changes using
Launch Client
. - After you've verified changes, you can create a pull request for review.
Follow these steps to update a locale for the SAS Extension for VSCode:
- Follow the instructions in the Get started section to setup your environment and view results.
- Run
npm run locale --update-locale=<locale>
. This will updatepackage.nls.<locale>.json
andl10/bundle.l10n.<locale>.json
with any missing translation keys. - Update any untranslated strings.
- Verify your changes using
Launch Client
. - After you've verified changes, you can create a pull request for review.
Language | VSCode Language ID | Contributor |
---|---|---|
German | de | David Weik |
Chinese (Simplified) | zh-cn | Wei Wu |
Portuguese (Brazil) | pt-br | Mark Jordan |