Changesets · Branches · Tags · Compare
| Changeset | 72bc0de62a7093c535b9c45a11c12e65a96febf1f0bcdd12249a5c2f99c720f9 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-07-02 14:24 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-02 14:24 -07:00 |
| Parents | 3cf241140902, cec795fa99fd |
2 files changed
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/constants/MessageTypes.kt +3 −2
| @@ -41,11 +41,12 @@ | ||
| 41 | 41 | "getTerminalContents", |
| 42 | 42 | "showToast", |
| 43 | 43 | "openUrl", |
| 44 | - | |
| 44 | + "isWorkspaceRemote", | |
| 45 | + | |
| 45 | 46 | // These only come from the GUI for now but should be here to prevent confusion |
| 46 | 47 | "toggleDevTools", |
| 47 | 48 | "showTutorial", |
| 48 | - | |
| 49 | + | |
| 49 | 50 | // These are jetbrains only and only come from the GUI for now |
| 50 | 51 | // But again including for consistency |
| 51 | 52 | "copyText", |
modified extensions/intellij/src/main/kotlin/com/github/continuedev/continueintellijextension/continue/IdeProtocolClient.kt +6 −1
| @@ -202,6 +202,11 @@ | ||
| 202 | 202 | respond(contents) |
| 203 | 203 | } |
| 204 | 204 | |
| 205 | + "isWorkspaceRemote" -> { | |
| 206 | + val isRemote = ide.isWorkspaceRemote() | |
| 207 | + respond(isRemote) | |
| 208 | + } | |
| 209 | + | |
| 205 | 210 | "saveFile" -> { |
| 206 | 211 | val params = Gson().fromJson( |
| 207 | 212 | dataElement.toString(), |
| @@ -475,7 +480,7 @@ | ||
| 475 | 480 | val editor = EditorUtils.getEditor(project) |
| 476 | 481 | val rif = editor?.getHighlightedRIF() ?: return |
| 477 | 482 | |
| 478 | - val serializedRif = com.github.continuedev.continueintellijextension.RangeInFileWithContents( | |
| 483 | + val serializedRif = com.github.continuedev.continueintellijextension.RangeInFileWithContents( | |
| 479 | 484 | filepath = rif.filepath, |
| 480 | 485 | range = rif.range, |
| 481 | 486 | contents = rif.contents |