Changesets · Branches · Tags · Compare
| Changeset | cec795fa99fd355fa98a5d79576e94b573531d9548a8e0111120d4b3348d6d5e |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-07-02 13:27 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-07-02 13:27 -07:00 |
| Parents | 6aa31bcb5ca9 |
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 |