Update CONTRIBUTING.md
This commit is contained in:
parent
35416047fd
commit
8f68b63e44
1 changed files with 19 additions and 20 deletions
|
|
@ -1,21 +1,23 @@
|
|||
# Contributing to Continue (JetBrains extension) <!-- omit in toc -->
|
||||
|
||||
This file is for contribution guidelines specific to the JetBrains extension. See the root [
|
||||
`CONTRIBUTING.md`](../../CONTRIBUTING.md) for general contribution guidelines.
|
||||
This file is for contribution guidelines specific to the JetBrains extension. See the root [`CONTRIBUTING.md`](../../CONTRIBUTING.md) for general contribution guidelines.
|
||||
|
||||
## Table of Contents <!-- omit in toc -->
|
||||
|
||||
- [Architecture Overview](#architecture-overview)
|
||||
- [Environment Setup](#environment-setup)
|
||||
- [IDE Installation](#ide-installation)
|
||||
- [Node.js Requirements](#nodejs-requirements)
|
||||
- [Install all dependencies](#install-all-dependencies)
|
||||
- [Misc](#misc)
|
||||
- [IDE Installation](#ide-installation)
|
||||
- [IDE configuration](#ide-configuration)
|
||||
- [Node.js Requirements](#nodejs-requirements)
|
||||
- [Install all dependencies](#install-all-dependencies)
|
||||
- [Misc](#misc)
|
||||
- [Development Workflow](#development-workflow)
|
||||
- [Running the extension](#running-the-extension)
|
||||
- [Packaging](#packaging)
|
||||
- [Running the extension](#running-the-extension)
|
||||
- [Available Gradle tasks](#available-gradle-tasks)
|
||||
- [Debugging](#debugging)
|
||||
- [Editor config](#editor-config)
|
||||
- [Reloading changes](#reloading-changes)
|
||||
- [Setting breakpoints](#setting-breakpoints)
|
||||
- [Packaging](#packaging)
|
||||
|
||||
## Architecture Overview
|
||||
|
||||
|
|
@ -59,9 +61,7 @@ This project requires Node.js version 20.11.0 (LTS) or higher. You have two opti
|
|||
|
||||
- Select the "Run Continue" Gradle configuration in the top-right corner of the IDE
|
||||
- Click the "Run" or "Debug" button
|
||||
- The first time running this will install the IDE version specified in [
|
||||
`./run/Run Continue.run.xml`](./.run/Run%20Continue.run.xml) (`platformVersion` property). This will take a moment
|
||||
as the installation size can be close to 1GB.
|
||||
- The first time running this will install the IDE version specified by the `platformVersion` property in [`./run/Run Continue.run.xml`](./.run/Run%20Continue.run.xml). This will take a moment as the installation size can be close to 1GB.
|
||||
|
||||

|
||||
|
||||
|
|
@ -89,7 +89,7 @@ verifyPluginConfiguration - Checks if Java and Kotlin compilers configuration me
|
|||
|
||||
- `extensions/intellij`: Attempt to reload changed classes by selecting
|
||||
`Run | Debugging Actions | Reload Changed Classes`
|
||||
- This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension
|
||||
- This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension
|
||||
- `gui`: Run `npm run build` from the `gui` directory
|
||||
- `core`: Run `npm run build` from the `binary` directory
|
||||
|
||||
|
|
@ -98,16 +98,15 @@ verifyPluginConfiguration - Checks if Java and Kotlin compilers configuration me
|
|||
- `extensions/intellij`: Run the extension in debug mode
|
||||
- `gui`: You'll need to set explicit `debugger` statements in the source code, or through the browser dev tools
|
||||
- `core`: To set breakpoints in `core`, we need to start `binary` in a debug configuration
|
||||
- Select the "Run Continue (TCP)" task in the top right corner
|
||||
- Open the project in a VS Code window (we recommend this for a preconfigured Typescript debugging experience)
|
||||
- Select the "Core Binary" task from the Run and Debug panel
|
||||
- You can now set breakpoints in `core`. Note that if you make changes, you'll need to restart the "Core Binary"
|
||||
task and reload changes classes in Intellij.
|
||||
- Select the "Run Continue (TCP)" task in the top right corner
|
||||
- Open the project in a VS Code window (we recommend this for a preconfigured Typescript debugging experience)
|
||||
- Select the "Core Binary" task from the Run and Debug panel
|
||||
- You can now set breakpoints in `core`. Note that if you make changes, you'll need to restart the "Core Binary"
|
||||
task and reload changes classes in Intellij.
|
||||
|
||||
## Packaging
|
||||
|
||||
- Unix: `./gradlew build`
|
||||
- Windows: `./gradlew.bat build`
|
||||
|
||||
This will generate a .zip file in `./build/distributions` with the version defined in [
|
||||
`./gradle.properties`](./gradle.properties)
|
||||
This will generate a .zip file in `./build/distributions` with the version defined in [`./gradle.properties`](./gradle.properties)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue