Adapt JS/TS rename tests for LSP4E inline rename#2
Conversation
Co-authored-by: akurtakov <574788+akurtakov@users.noreply.github.com>
Co-authored-by: akurtakov <574788+akurtakov@users.noreply.github.com>
Co-authored-by: akurtakov <574788+akurtakov@users.noreply.github.com>
Co-authored-by: akurtakov <574788+akurtakov@users.noreply.github.com>
|
@copilot Compilation failure: Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:5.0.1:compile (default-compile) on project org.eclipse.wildwebdeveloper: Compilation failure: Compilation failure: |
Co-authored-by: akurtakov <574788+akurtakov@users.noreply.github.com>
Fixed in commit cd3ef38. The compilation error was due to LSP4J API change where |
|
@request-license-review |
547b35b to
8ad3a3f
Compare
Completed: Fix Rename Tests for LSP4E Inline Rename Change
Summary
Fixed issue eclipse-wildwebdeveloper#2021 by adapting JavaScript and TypeScript rename tests to work with LSP4E PR eclipse-wildwebdeveloper#1440, which changed from dialog-based rename to inline rename. Also fixed compilation error in MarkdownDiagnosticsManager due to LSP4J API change.
Changes Implemented
Key Improvements
How It Works
Compilation Error Fix
LSP4J updated their API so
Diagnostic.getMessage()now returnsEither<String, MarkupContent>instead of justString. Added helper methodgetMessageString()to extract the string value from the Either type.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.