| 1 | namespace CascadeIDE.Features.Editor.Application.Monaco; |
| 2 | |
| 3 | public interface IEditorNavigationService |
| 4 | { |
| 5 | Task<bool> NavigateAsync(EditorNavigationTarget target, CancellationToken cancellationToken = default); |
| 6 | |
| 7 | bool TryNavigateReveal( |
| 8 | string? filePath, |
| 9 | int startLine, |
| 10 | int endLine, |
| 11 | int? durationMs, |
| 12 | EditorNavigationSource source = EditorNavigationSource.Mcp); |
| 13 | |
| 14 | bool TryNavigateGoTo( |
| 15 | string? filePath, |
| 16 | int line, |
| 17 | int column, |
| 18 | int? endLine = null, |
| 19 | int? endColumn = null, |
| 20 | EditorNavigationSource source = EditorNavigationSource.Mcp); |
| 21 | } |
| 22 | |
View only · write via MCP/CIDE