Skip to content

Commit d4e7372

Browse files
committed
rename intellij to jetbrains
1 parent f618f9d commit d4e7372

File tree

7 files changed

+29
-29
lines changed

7 files changed

+29
-29
lines changed

.github/workflows/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ When merging to `preview`:
77
- the VS Code extension along with Rust extension is built and uploaded as an artifact
88
- all of the artifacts are downloaded and pushed to the store/registry all at once, as full releases.
99
- the version is bumped and this change is commited to preview
10-
- in the future, the Intellij extension will be built and uploaded to the marketplace here
10+
- in the future, the JetBrains extension will be built and uploaded to the marketplace here
1111

1212
## main
1313

@@ -16,4 +16,4 @@ When merging to `main`:
1616
- the VS Code extension along with Rust extension is built and uploaded as an artifact
1717
- all of the artifacts are downloaded and pushed to the store/registry all at once, as full releases.
1818
- the version is bumped and this change is commited to main
19-
- in the future, the Intellij extension will be built and uploaded to the marketplace here
19+
- in the future, the JetBrains extension will be built and uploaded to the marketplace here

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
Separate changelogs are kept for each extension:
44

55
- [VS Code Extension](./extensions/vscode/CHANGELOG.md)
6-
- [Intellij Extension](./extensions/intellij/CHANGELOG.md)
6+
- [JetBrains Extension](./extensions/intellij/CHANGELOG.md)

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Pre-requisite: You should use the Intellij IDE, which can be downloaded [here](h
152152

153153
##### Debugging
154154

155-
Continue's JetBrains extension shares much of the code with the VS Code extension by utilizing shared code in the `core` directory and packaging it in a binary in the `binary` directory. The Intellij extension (written in Kotlin) is then able to communicate over stdin/stdout in the [CoreMessenger.kt](./extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/CoreMessenger.kt) file.
155+
Continue's JetBrains extension shares much of the code with the VS Code extension by utilizing shared code in the `core` directory and packaging it in a binary in the `binary` directory. The JetBrains extension (written in Kotlin) is then able to communicate over stdin/stdout in the [CoreMessenger.kt](./extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/CoreMessenger.kt) file.
156156

157157
For the sake of rapid development, it is also possible to configure this communication to happen over local TCP sockets:
158158

docs/docs/changelog.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: 📝 Changelog
3-
description: Changelogs for the latest releases of the VSCode and IntelliJ extensions
3+
description: Changelogs for the latest releases of the VSCode and JetBrains extensions
44
keywords: [changelog]
55
hide_table_of_contents: true
66
---
77

88
import VSCodeChangelog from "../../extensions/vscode/CHANGELOG.md";
99
import IntelliJChangelog from "../../extensions/intellij/CHANGELOG.md";
1010

11-
Below are the changelogs for the latest releases of the VSCode and IntelliJ extensions. Prior to 2024-07-02, the changelogs do not reflect all updates.
11+
Below are the changelogs for the latest releases of the VSCode and JetBrains extensions. Prior to 2024-07-02, the changelogs do not reflect all updates.
1212

1313
import TOCInline from "@theme/TOCInline";
1414

docs/docs/troubleshooting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Troubleshooting while waiting for help during beta / alpha testing
44
keywords: [reload, delete, manually, logs, server, console]
55
---
66

7-
The Continue VS Code extension is currently in beta, and the Intellij extension is in Alpha. If you are having trouble, please follow the steps below.
7+
The Continue VS Code extension is currently in beta, and the JetBrains extension is in Alpha. If you are having trouble, please follow the steps below.
88

99
1. [Check the logs](#check-the-logs)
1010
2. [Try the latest pre-release](#download-the-latest-pre-release)

extensions/vscode/scripts/prepackage.js

+7-4
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const exe = os === "win32" ? ".exe" : "";
9494
execCmdSync("npm run build");
9595
}
9696

97-
// Copy over the dist folder to the Intellij extension //
97+
// Copy over the dist folder to the JetBrains extension //
9898
const intellijExtensionWebviewPath = path.join(
9999
"..",
100100
"extensions",
@@ -114,7 +114,7 @@ const exe = os === "win32" ? ".exe" : "";
114114
ncp("dist", intellijExtensionWebviewPath, (error) => {
115115
if (error) {
116116
console.warn(
117-
"[error] Error copying React app build to Intellij extension: ",
117+
"[error] Error copying React app build to JetBrains extension: ",
118118
error,
119119
);
120120
reject(error);
@@ -136,7 +136,7 @@ const exe = os === "win32" ? ".exe" : "";
136136
path.join(intellijExtensionWebviewPath, "onigasm.wasm"),
137137
);
138138

139-
console.log("[info] Copied gui build to Intellij extension");
139+
console.log("[info] Copied gui build to JetBrains extension");
140140

141141
// Then copy over the dist folder to the VSCode extension //
142142
const vscodeGuiPath = path.join("../extensions/vscode/gui");
@@ -248,7 +248,10 @@ const exe = os === "win32" ? ".exe" : "";
248248
"../../../core/llm/tiktokenWorkerPool.mjs",
249249
];
250250
for (const f of filesToCopy) {
251-
fs.copyFileSync(path.join(__dirname, f), path.join(__dirname, "..", "out", path.basename(f)));
251+
fs.copyFileSync(
252+
path.join(__dirname, f),
253+
path.join(__dirname, "..", "out", path.basename(f)),
254+
);
252255
console.log(`[info] Copied ${path.basename(f)}`);
253256
}
254257

extensions/vscode/scripts/utils.js

+15-18
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async function buildGui(isGhAction) {
7878
execCmdSync("npm run build");
7979
}
8080

81-
// Copy over the dist folder to the Intellij extension //
81+
// Copy over the dist folder to the JetBrains extension //
8282
const intellijExtensionWebviewPath = path.join(
8383
"..",
8484
"extensions",
@@ -98,7 +98,7 @@ async function buildGui(isGhAction) {
9898
ncp("dist", intellijExtensionWebviewPath, (error) => {
9999
if (error) {
100100
console.warn(
101-
"[error] Error copying React app build to Intellij extension: ",
101+
"[error] Error copying React app build to JetBrains extension: ",
102102
error,
103103
);
104104
reject(error);
@@ -120,7 +120,7 @@ async function buildGui(isGhAction) {
120120
path.join(intellijExtensionWebviewPath, "onigasm.wasm"),
121121
);
122122

123-
console.log("[info] Copied gui build to Intellij extension");
123+
console.log("[info] Copied gui build to JetBrains extension");
124124

125125
// Then copy over the dist folder to the VSCode extension //
126126
const vscodeGuiPath = path.join("../extensions/vscode/gui");
@@ -256,7 +256,7 @@ async function copyNodeModules() {
256256
"@esbuild",
257257
"@lancedb",
258258
"@vscode/ripgrep",
259-
"workerpool"
259+
"workerpool",
260260
];
261261
fs.mkdirSync("out/node_modules", { recursive: true });
262262

@@ -328,15 +328,13 @@ async function downloadEsbuildBinary(target) {
328328
"win32-x64":
329329
"https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz",
330330
}[target];
331-
execCmdSync(
332-
`curl -L -o out/tmp/esbuild.tgz ${downloadUrl}`,
333-
);
331+
execCmdSync(`curl -L -o out/tmp/esbuild.tgz ${downloadUrl}`);
334332
execCmdSync("cd out/tmp && tar -xvzf esbuild.tgz");
335333
// Copy the installed package back to the current directory
336334
let tmpPath = "out/tmp/package/bin";
337335
let outPath = `out/node_modules/@esbuild/${target}/bin`;
338336
if (target.startsWith("win")) {
339-
tmpPath = 'out/tmp/package';
337+
tmpPath = "out/tmp/package";
340338
outPath = `out/node_modules/@esbuild/${target}`;
341339
}
342340

@@ -347,18 +345,15 @@ async function downloadEsbuildBinary(target) {
347345
{ dereference: true },
348346
(error) => {
349347
if (error) {
350-
console.error(
351-
`[error] Error copying esbuild package`,
352-
error,
353-
);
348+
console.error(`[error] Error copying esbuild package`, error);
354349
reject(error);
355350
} else {
356351
resolve();
357352
}
358353
},
359354
);
360355
});
361-
rimrafSync("out/tmp")
356+
rimrafSync("out/tmp");
362357
}
363358

364359
async function downloadSqliteBinary(target) {
@@ -408,7 +403,8 @@ async function copySqliteBinary() {
408403
async function downloadRipgrepBinary(target) {
409404
console.log("[info] Downloading pre-built ripgrep binary");
410405
rimrafSync("node_modules/@vscode/ripgrep/bin");
411-
fs.mkdirSync("node_modules/@vscode/ripgrep/bin", { recursive: true });4
406+
fs.mkdirSync("node_modules/@vscode/ripgrep/bin", { recursive: true });
407+
4;
412408
const downloadUrl = {
413409
"darwin-arm64":
414410
"https://github.com/microsoft/ripgrep-prebuilt/releases/download/v13.0.0-10/ripgrep-v13.0.0-10-aarch64-apple-darwin.tar.gz",
@@ -424,8 +420,7 @@ async function downloadRipgrepBinary(target) {
424420
"https://github.com/microsoft/ripgrep-prebuilt/releases/download/v13.0.0-10/ripgrep-v13.0.0-10-x86_64-pc-windows-msvc.zip",
425421
}[target];
426422

427-
428-
if(target.startsWith("win")) {
423+
if (target.startsWith("win")) {
429424
execCmdSync(
430425
`curl -L -o node_modules/@vscode/ripgrep/bin/build.zip ${downloadUrl}`,
431426
);
@@ -435,7 +430,9 @@ async function downloadRipgrepBinary(target) {
435430
execCmdSync(
436431
`curl -L -o node_modules/@vscode/ripgrep/bin/build.tar.gz ${downloadUrl}`,
437432
);
438-
execCmdSync("cd node_modules/@vscode/ripgrep/bin && tar -xvzf build.tar.gz");
433+
execCmdSync(
434+
"cd node_modules/@vscode/ripgrep/bin && tar -xvzf build.tar.gz",
435+
);
439436
fs.unlinkSync("node_modules/@vscode/ripgrep/bin/build.tar.gz");
440437
}
441438
}
@@ -512,5 +509,5 @@ module.exports = {
512509
installNodeModuleInTempDirAndCopyToCurrent,
513510
downloadSqliteBinary,
514511
downloadRipgrepBinary,
515-
copyTokenizers
512+
copyTokenizers,
516513
};

0 commit comments

Comments
 (0)