Changesets · Branches · Tags · Compare
| Changeset | fd118b8902000e70b75370ccf51b1e78b428d12d1f8a78565a432a7f35e3bb34 |
|---|---|
| Author | Jacob Kim <jacob@continue.dev> · 2025-07-09 21:07 -07:00 |
| Committer | Jacob Kim <jacob@continue.dev> · 2025-07-09 21:07 -07:00 |
| Parents | db9477902ab4 |
3 files changed
modified core/protocol/ide.ts +3 −0
| @@ -10,6 +10,7 @@ | ||
| 10 | 10 | Problem, |
| 11 | 11 | Range, |
| 12 | 12 | RangeInFile, |
| 13 | + SignatureHelp, | |
| 13 | 14 | TerminalOptions, |
| 14 | 15 | Thread, |
| 15 | 16 | } from "../"; |
| @@ -82,6 +83,8 @@ | ||
| 82 | 83 | getFileStats: [{ files: string[] }, FileStatsMap]; |
| 83 | 84 | |
| 84 | 85 | gotoDefinition: [{ location: Location }, RangeInFile[]]; |
| 86 | + gotoTypeDefinition: [{ location: Location }, RangeInFile[]]; | |
| 87 | + getSignatureHelp: [{ location: Location }, SignatureHelp | null]; | |
| 85 | 88 | |
| 86 | 89 | getControlPlaneSessionInfo: [ |
| 87 | 90 | { silent: boolean; useOnboarding: boolean }, |
modified core/protocol/messenger/messageIde.ts +9 −0
| @@ -13,6 +13,7 @@ | ||
| 13 | 13 | Problem, |
| 14 | 14 | Range, |
| 15 | 15 | RangeInFile, |
| 16 | + SignatureHelp, | |
| 16 | 17 | TerminalOptions, |
| 17 | 18 | Thread, |
| 18 | 19 | } from "../.."; |
| @@ -45,6 +46,14 @@ | ||
| 45 | 46 | return this.request("gotoDefinition", { location }); |
| 46 | 47 | } |
| 47 | 48 | |
| 49 | + async gotoTypeDefinition(location: Location): Promise<RangeInFile[]> { | |
| 50 | + return this.request("gotoTypeDefinition", { location }); | |
| 51 | + } | |
| 52 | + | |
| 53 | + async getSignatureHelp(location: Location): Promise<SignatureHelp | null> { | |
| 54 | + return this.request("getSignatureHelp", { location }); | |
| 55 | + } | |
| 56 | + | |
| 48 | 57 | onDidChangeActiveTextEditor(callback: (fileUri: string) => void): void { |
| 49 | 58 | this.on("didChangeActiveTextEditor", (data) => callback(data.filepath)); |
| 50 | 59 | } |
modified core/util/filesystem.ts +9 −0
| @@ -13,6 +13,7 @@ | ||
| 13 | 13 | Problem, |
| 14 | 14 | Range, |
| 15 | 15 | RangeInFile, |
| 16 | + SignatureHelp, | |
| 16 | 17 | TerminalOptions, |
| 17 | 18 | Thread, |
| 18 | 19 | ToastType, |
| @@ -44,6 +45,14 @@ | ||
| 44 | 45 | return Promise.resolve([]); |
| 45 | 46 | } |
| 46 | 47 | |
| 48 | + gotoTypeDefinition(location: Location): Promise<RangeInFile[]> { | |
| 49 | + return Promise.resolve([]); | |
| 50 | + } | |
| 51 | + | |
| 52 | + getSignatureHelp(location: Location): Promise<SignatureHelp | null> { | |
| 53 | + return Promise.resolve(null); | |
| 54 | + } | |
| 55 | + | |
| 47 | 56 | onDidChangeActiveTextEditor(callback: (fileUri: string) => void): void { |
| 48 | 57 | return; |
| 49 | 58 | } |