-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor of tests to more reliable, including being independent of each other so if one test fails others are not effected. Fix path to workspace files of "Language Server E2E Test" and rename to "Run Extension Tests" to make it clear what its used for. Add mochaExplorer configuration, to improve test visibility. Re-enable big groovy test file, now it works as expected. Rename test files to eliminate suttering Fix test debugging by using NPM_DEBUG instead of DEBUG env var which is filtered out by vscode, see: microsoft/vscode#197494. Also: * Update Node and JVM versions in README.md * Update all packages, to address security issues and bring in the latest version of npm-groovy-lint * Clean up imports * Use onDidChangeContent to trigger re-linting to improve performance and remove skipNextOnDidChangeContents which conflicts with this change * Eliminate else statements where previous block returns, to improve code readability * Refactor resetDiagnostics into deleteDiagnostics as its now only used for the delete flow, so we can remove unnessary logic and diagnostic changes * Remove commented out code * Convert high noise debugging to trace * Add missing await to docManager.updateDocumentSettings call
- Loading branch information
Showing
31 changed files
with
4,536 additions
and
1,822 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,33 @@ | ||
# CONTRIBUTE | ||
|
||
Contributions are very welcome ! | ||
Contributions are very welcome! | ||
|
||
- Fork the repo and clone it on your computer | ||
- Open is with [Visual Studio Code Insiders Version](https://code.visualstudio.com/insiders/) | ||
- To debug, launch debug configuration `Groovy Lint Debug` | ||
- Once your code is ready, documented and linted, please create a [pull request](https://github.com/nvuillam/vscode-groovy-lint/pulls) :) | ||
## Setup | ||
|
||
If your updates are related to the linter and not its VsCode extension, please Contribute to [NPM Grovvy Lint](https://github.com/nvuillam/npm-groovy-lint/blob/master/CONTRIBUTING.md) | ||
To contribute first [fork the repo](https://docs.github.com/en/get-started/quickstart/fork-a-repo) | ||
and [clone it](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) | ||
on your computer. | ||
|
||
Now you can open it in with [Visual Studio Code](https://code.visualstudio.com/) | ||
and make changes. | ||
|
||
## Testing & Debugging | ||
|
||
To test and debug the extension, launch the `Groovy Lint Debug` | ||
[Run and Debug](https://code.visualstudio.com/docs/editor/debugging) configuration. | ||
|
||
To debug the tests, launch the `Run Extension Tests` | ||
[Run and Debug](https://code.visualstudio.com/docs/editor/debugging) configuration. | ||
|
||
## Raise PR | ||
|
||
Once your code is ready, documented and linted, raise a | ||
[pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests) | ||
with your changes [here](https://github.com/nvuillam/vscode-groovy-lint/pulls). | ||
|
||
## NPM Groovy Lint | ||
|
||
If your updates are related to the linter and not the | ||
[Groovy Lint, Format and Fix Extension](https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint), | ||
please [contribute to NPM Grovvy Lint](https://github.com/nvuillam/npm-groovy-lint/blob/main/CONTRIBUTING.md) | ||
instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.