How to contribute to Robot Framework Language Server
September 30, 2023 · View on GitHub
Developing the extension locally
- Install dependencies
npm ci - Start the client & server build process in watch mode with
npm run buildor using VSCode taskCmd+Shift+B - Use the "Launch Extension" launch configuration in VSCode to run the extension in debug mode
- Go to "Run and Debug" view (
Cmd+Shift+D) - Select "Launch Extension" from the dropdown
- Press ▷ to launch the config
- Go to "Run and Debug" view (
Packaging the extension into installation package
The extension can be packaged into an .vsix file that can be installed into VSCode:
- Make sure you have vsce installed:
npm install --global @vscode/vsce - Run
npm run package - The
.vsixcan be installed from VSCode extensions panel's...menu: "Install from VSIX..."
Did you find a bug?
-
Ensure the bug was not already reported by searching on GitHub under Issues.
-
If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.
-
If possible, use the relevant bug report templates to create the issue.
Did you write a patch that fixes a bug?
-
Open a new GitHub pull request with the patch.
-
Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
-
Before submitting, please ensure that
- The code has been formatted and passes linting (
npm run lint) - A test case has been added and it passes (
npm run test)
Do you intend to add a new feature or change an existing one?
-
Suggest your change by creating an issue (unless one exists already) on the issues page and start writing code.
-
Open a new GitHub pull request with the patch.
-
Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
-
Before submitting, please ensure that
- The code has been formatted and passes linting (
npm run lint) - A test case has been added and it passes (
npm run test)
Do you have questions about the source code?
- Ask any question on the issues page.
The extension is being developed solely on the author's free time. I encourage you to contribute if you want to see a specific feature added!
Thanks! :heart: :heart: :heart:
Tomi Turtiainen