| 1 | namespace CascadeIDE.Features.Editor.Application.Monaco; |
| 2 | |
| 3 | /// <summary>LSP intelligence surface for Monaco capability router (ADR 0163 M8).</summary> |
| 4 | public interface ICideEditorLspIntelligence |
| 5 | { |
| 6 | bool IsActive { get; } |
| 7 | |
| 8 | bool SupportsSemanticTokens { get; } |
| 9 | |
| 10 | Task<IReadOnlyList<CideEditorCompletionItem>> RequestCompletionAsync( |
| 11 | string filePath, |
| 12 | string text, |
| 13 | int line1, |
| 14 | int col1, |
| 15 | CancellationToken ct); |
| 16 | |
| 17 | Task<string?> RequestSignatureHelpAsync( |
| 18 | string filePath, |
| 19 | string text, |
| 20 | int line1, |
| 21 | int col1, |
| 22 | CancellationToken ct); |
| 23 | |
| 24 | Task<CideEditorDefinitionLocation?> RequestDefinitionAsync( |
| 25 | string filePath, |
| 26 | string text, |
| 27 | int line1, |
| 28 | int col1, |
| 29 | CancellationToken ct); |
| 30 | |
| 31 | Task<IReadOnlyList<CideEditorReferenceLocation>> RequestReferencesAsync( |
| 32 | string filePath, |
| 33 | string text, |
| 34 | int line1, |
| 35 | int col1, |
| 36 | CancellationToken ct); |
| 37 | |
| 38 | Task<CideEditorSemanticTokensData?> RequestSemanticTokensFullAsync( |
| 39 | string filePath, |
| 40 | string text, |
| 41 | CancellationToken ct); |
| 42 | } |
| 43 | |
View only · write via MCP/CIDE