diff --git a/binary/build.js b/binary/build.js
index 045fb64f2..e01358cfa 100644
--- a/binary/build.js
+++ b/binary/build.js
@@ -118,6 +118,10 @@ async function installNodeModuleInTempDirAndCopyToCurrent(packageName, toCopy) {
}
(async () => {
+ // Informs of where to look for node_sqlite3.node https://www.npmjs.com/package/bindings#:~:text=The%20searching%20for,file%20is%20found
+ // This is only needed for our `pkg` command
+ fs.writeFileSync("out/package.json", "");
+
console.log("[info] Downloading prebuilt lancedb...");
for (const target of targets) {
if (targetToLanceDb[target]) {
diff --git a/extensions/intellij/.run/Start GUI Dev Server.run.xml b/extensions/intellij/.run/Start GUI Dev Server.run.xml
index bd98d3f57..5f574019a 100644
--- a/extensions/intellij/.run/Start GUI Dev Server.run.xml
+++ b/extensions/intellij/.run/Start GUI Dev Server.run.xml
@@ -5,7 +5,7 @@
-
+
diff --git a/extensions/intellij/CONTRIBUTING.md b/extensions/intellij/CONTRIBUTING.md
index 836eaa7b6..c62084620 100644
--- a/extensions/intellij/CONTRIBUTING.md
+++ b/extensions/intellij/CONTRIBUTING.md
@@ -152,6 +152,8 @@ This will generate a .zip file in `./build/distributions` with the version defin
The e2e tests are written using [intellij-ui-test-robot](`https://github.com/JetBrains/intellij-ui-test-robot`). The
README for this project has a lot of helpful info on how to use the library.
+Note that these tests fully take control of your mouse while executing.
+
#### Setup
If you are on macOS, you'll need to give IntelliJ permission to control your computer in order to run the e2e tests.
@@ -174,7 +176,18 @@ to run.
#### Identifying selectors
-While the `runIdeForUiTests` task is runnung, you can visit the following URL
+While the `runIdeForUiTests` task is running, you can visit the following URL
to view the UI hierarchy of the running IDE:
-http://127.0.0.1:8082/
\ No newline at end of file
+http://127.0.0.1:8082/
+
+#### Rebuilding the extension
+
+To rebuild the extension with the latest source code, run the following:
+
+```sh
+./gradlew buildPlugin
+```
+
+This will update the contents of the extension that is loaded into the test IDE from
+`build/idea-sandbox/plugins-uiTest/continue-intellij-extension`
diff --git a/extensions/intellij/build.gradle.kts b/extensions/intellij/build.gradle.kts
index ee7dce8be..a52b64149 100644
--- a/extensions/intellij/build.gradle.kts
+++ b/extensions/intellij/build.gradle.kts
@@ -105,13 +105,10 @@ tasks {
wrapper { gradleVersion = properties("gradleVersion").get() }
patchPluginXml {
- version = properties("pluginVersion")
- sinceBuild = properties("pluginSinceBuild")
- untilBuild = properties("pluginUntilBuild")
-
- // Extract the section from README.md and provide for the plugin's
- // manifest
- pluginDescription =
+ version.set(properties("pluginVersion"))
+ sinceBuild.set(properties("pluginSinceBuild"))
+ untilBuild.set(properties("pluginUntilBuild"))
+ pluginDescription.set(
providers.fileContents(layout.projectDirectory.file("README.md")).asText.map {
val start = ""
val end = ""
@@ -125,6 +122,7 @@ tasks {
subList(indexOf(start) + 1, indexOf(end)).joinToString("\n").let(::markdownToHTML)
}
}
+ )
}
// Configure UI tests plugin
diff --git a/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Autocomplete.kt b/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Autocomplete.kt
index fdb271639..25179123f 100644
--- a/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Autocomplete.kt
+++ b/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Autocomplete.kt
@@ -34,7 +34,7 @@ class Autocomplete {
@AfterEach
fun closeProject(remoteRobot: RemoteRobot) = CommonSteps(remoteRobot).closeProject()
- // @Test
+ @Test
@Video
fun displayCompletion(remoteRobot: RemoteRobot): Unit = with(remoteRobot) {
welcomeFrame {
diff --git a/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/GUI.kt b/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/GUI.kt
index 5672debba..220ffdaae 100644
--- a/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/GUI.kt
+++ b/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/GUI.kt
@@ -39,7 +39,7 @@ class GUI {
@AfterEach
fun closeProject(remoteRobot: RemoteRobot) = CommonSteps(remoteRobot).closeProject()
- // @Test
+ @Test
@Video
fun highlightCode(remoteRobot: RemoteRobot): Unit = with(remoteRobot) {
welcomeFrame {
diff --git a/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Onboarding.kt b/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Onboarding.kt
index 3f667559d..c19696cab 100644
--- a/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Onboarding.kt
+++ b/extensions/intellij/src/test/kotlin/com/github/continuedev/continueintellijextension/e2e/Onboarding.kt
@@ -35,7 +35,7 @@ class Onboarding {
fun closeProject(remoteRobot: RemoteRobot) = CommonSteps(remoteRobot).closeProject()
- // @Test
+ @Test
@Video
fun onboarding(remoteRobot: RemoteRobot): Unit = with(remoteRobot) {
welcomeFrame {