Skip to content

Commit 2ce5f5a

Browse files
update run configs
1 parent 7032602 commit 2ce5f5a

File tree

5 files changed

+23
-66
lines changed

5 files changed

+23
-66
lines changed

.vscode/launch.json

-19
Original file line numberDiff line numberDiff line change
@@ -137,24 +137,5 @@
137137
"NODE_OPTIONS": "--experimental-vm-modules"
138138
}
139139
}
140-
// {
141-
// "name": "[openai-adapters] Jest Test Debugger, Current Open File",
142-
// "type": "node",
143-
// "request": "launch",
144-
// "runtimeArgs": [
145-
// "--inspect-brk",
146-
// "${workspaceRoot}/packages/openai-adapters/node_modules/jest/bin/jest.js",
147-
// "--runInBand",
148-
// "--config",
149-
// "${workspaceRoot}/packages/openai-adapters/jest.config.mjs",
150-
// "${relativeFile}"
151-
// ],
152-
// "cwd": "${workspaceRoot}/packages/openai-adapters",
153-
// "console": "integratedTerminal",
154-
// "internalConsoleOptions": "neverOpen",
155-
// "env": {
156-
// "NODE_OPTIONS": "--experimental-vm-modules"
157-
// }
158-
// }
159140
]
160141
}

extensions/intellij/.run/Tail Dev Logs (core).run.xml

-17
This file was deleted.

extensions/intellij/CONTRIBUTING.md

+22-29
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
# Contributing to Continue (JetBrains extension) <!-- omit in toc -->
22

3-
This file is for contribution guidelines specific to the JetBrains extension. See the root [`CONTRIBUTING.md`](../../CONTRIBUTING.md) for general contribution guidelines.
3+
This file is for contribution guidelines specific to the JetBrains extension. See the root [
4+
`CONTRIBUTING.md`](../../CONTRIBUTING.md) for general contribution guidelines.
45

56
## Table of Contents <!-- omit in toc -->
67

78
- [Architecture Overview](#architecture-overview)
89
- [Environment Setup](#environment-setup)
9-
- [IDE Installation](#ide-installation)
10-
- [IDE configuration](#ide-configuration)
11-
- [Node.js Requirements](#nodejs-requirements)
12-
- [Install all dependencies](#install-all-dependencies)
13-
- [Misc](#misc)
10+
- [IDE Installation](#ide-installation)
11+
- [IDE configuration](#ide-configuration)
12+
- [Node.js Requirements](#nodejs-requirements)
13+
- [Install all dependencies](#install-all-dependencies)
14+
- [Misc](#misc)
1415
- [Development Workflow](#development-workflow)
15-
- [Running the extension](#running-the-extension)
16-
- [Reloading changes](#reloading-changes)
17-
- [Setting breakpoints](#setting-breakpoints)
18-
- [Available Gradle tasks](#available-gradle-tasks)
19-
- [Packaging](#packaging)
20-
- [Testing the packaged extension](#testing-the-packaged-extension)
16+
- [Running the extension](#running-the-extension)
17+
- [Reloading changes](#reloading-changes)
18+
- [Setting breakpoints](#setting-breakpoints)
19+
- [Available Gradle tasks](#available-gradle-tasks)
20+
- [Packaging](#packaging)
21+
- [Testing the packaged extension](#testing-the-packaged-extension)
2122

2223
## Architecture Overview
2324

@@ -57,36 +58,27 @@ This project requires Node.js version 20.11.0 (LTS) or higher. You have two opti
5758

5859
## Development Workflow
5960

60-
Because the `gui` and `core` are written in TypeScript, our development workflow is built around the assumption that you
61-
have VS Code installed.
61+
### Running the extension in debug mode
6262

63-
### Running the extension
63+
Select the "Run Continue" task in the top right corner of the IDE and then select the "Debug" option.
6464

65-
- Open the project in VS Code and star the `Core binary` task
66-
- Switch back to Intellij and select the "Run Continue" configuration in the top-right corner of the IDE
67-
- Click the "Debug" button
68-
- The first time running this will install the IDE version specified by the `platformVersion` property in [
69-
`./run/Run Extension.run.xml`](./.run/Run%20Extension.run.xml). This will take a moment as the installation size
70-
can be close to 1GB.
65+
![run-extension-screenshot](../../media/run-continue-intellij.png)
7166

72-
![run-extension-screenshot](../../media/run-intellij-extension.png)\
73-
74-
This should open a new instance on IntelliJ with the extension installed and connected via TCP to the server started
75-
through the `Core binary` task.
67+
This should open a new instance on IntelliJ with the extension installed.
7668

7769
### Reloading changes
7870

7971
- `extensions/intellij`: Attempt to reload changed classes by selecting
8072
_Run | Debugging Actions | Reload Changed Classes`_
81-
- This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension
73+
- This will often fail on new imports, schema changes etc. In that case, you need to stop and restart the extension
8274
- `gui`: Changes will be reloaded automatically
83-
- `core`: Run `npm run build` from the `binary` directory and restart the `Core binary` task in VS Code
75+
- `core`: Run `npm run build` from the `binary` directory (requires restarting the `Start Dev Server (core)` task)
8476

8577
### Setting breakpoints
8678

8779
- `extensions/intellij`: Breakpoints can be set in Intellij
8880
- `gui`: You'll need to set explicit `debugger` statements in the source code, or through the browser dev tools
89-
- `core`: Breakpoints can be set in VS Code (requires restarting the _Core Binary_ task)
81+
- `core`: Breakpoints can be set in Intellij (requires restarting the `Start Dev Server (core)` task)
9082

9183
### Available Gradle tasks
9284

@@ -111,7 +103,8 @@ verifyPluginConfiguration - Checks if Java and Kotlin compilers configuration me
111103
- Unix: `./gradlew buildPlugin`
112104
- Windows: `./gradlew.bat buildPlugin`
113105
114-
This will generate a .zip file in `./build/distributions` with the version defined in [`./gradle.properties`](./gradle.properties)
106+
This will generate a .zip file in `./build/distributions` with the version defined in [
107+
`./gradle.properties`](./gradle.properties)
115108
116109
#### Testing the packaged extension
117110

gui/src/components/OnboardingCard/components/JetBrainsFetchGitHubTokenDialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function JetBrainsFetchGitHubTokenDialog({
3636
return (
3737
<div className="flex flex-col gap-3 p-8">
3838
<div className="text-center">
39-
<h1 className="my-0 text-md">Sign in with GitHub</h1>
39+
<h1 className="my-0 text-xl">Sign in with GitHub</h1>
4040
<p className="text-sm">
4141
Continue will request read access to your GitHub email so that we can
4242
prevent abuse of the free trial. If you prefer not to sign in, you can

media/run-continue-intellij.png

-8.45 KB
Loading

0 commit comments

Comments
 (0)