vscode-gradle/CONTRIBUTING.md

31 строка
944 B
Markdown
Исходник Обычный вид История

2019-11-11 23:13:42 +03:00
# Contributing
## How to Contribute
2019-11-11 23:13:42 +03:00
Start by opening an issue using one of the issue templates, or propose a change by submitting a pull request (including a detailed pull request description).
2019-11-11 23:13:42 +03:00
## Running the Project
2019-12-10 23:42:48 +03:00
2020-02-16 02:27:49 +03:00
1. Install [nvm](https://github.com/nvm-sh/nvm)
2. Install [Java version >= 8](https://adoptopenjdk.net/)
3. Change directory to the root of the project
4. Select Node version: `nvm use`
2020-04-19 23:11:09 +03:00
5. Build project files: `./gradlew build`
2019-12-10 23:42:48 +03:00
Running the build for the first time can take a bit of time, but subsequent builds should be fast.
2019-12-10 23:42:48 +03:00
## Development Workflow
2019-11-11 23:13:42 +03:00
Open the root of the project in VS Code.
2019-11-11 23:13:42 +03:00
2020-04-19 23:11:09 +03:00
Open the Debug panel, and select one of the `debug` tasks, for example `Debug Extension`, or any of the test launch configurations.
2020-04-19 23:11:09 +03:00
You can also run `./gradlew test testVsCode` to run all tests.
### Code Style
Prettier is used to lint & format most files.
- Lint: `./gradlew lint`
- Fix linting issues: `./gradlew format`