Skip to content

Fix path parsing on Windows in SymbolIconProviderRegistry & add tests#1532

Open
travkin79 wants to merge 1 commit intoeclipse-lsp4e:mainfrom
travkin79:patch-add-icon-provider-test
Open

Fix path parsing on Windows in SymbolIconProviderRegistry & add tests#1532
travkin79 wants to merge 1 commit intoeclipse-lsp4e:mainfrom
travkin79:patch-add-icon-provider-test

Conversation

@travkin79
Copy link
Copy Markdown
Contributor

On Windows a path parsing issue can occur while retrieving overlay icons for the outline view, type hierarchy, or call hierarchy. This PR provides a fix for an issue reported in CDT LSP and adds a test for reproducing that issue.

@travkin79 travkin79 changed the title Fix path parsing on Windows in SymbolIconProvider + Tests Fix path parsing on Windows in SymbolIconProvider & add tests Apr 27, 2026
@FlorianKroiss FlorianKroiss self-requested a review April 27, 2026 15:17
@travkin79 travkin79 requested a review from FlorianKroiss April 28, 2026 08:15
@travkin79 travkin79 marked this pull request as ready for review April 28, 2026 08:15
@travkin79 travkin79 changed the title Fix path parsing on Windows in SymbolIconProvider & add tests Fix path parsing on Windows in SymbolIconProviderRegistry & add tests Apr 28, 2026
- Add test case for reproducing a windows path parsing issue
- Move helper method to utility class
- Fix path parsing: Path.of(uri.getPath()) => Path.of(uri)
- Bump test plug-in version
@travkin79 travkin79 force-pushed the patch-add-icon-provider-test branch from 973e19c to b2f851e Compare April 30, 2026 09:42
@travkin79
Copy link
Copy Markdown
Contributor Author

Thank you @FlorianKroiss for your review.

Hello @rubenporras, do you think, we could merge now? I squashed and rebased my PR commits. Oh, I see, the license check fails, but I don't see the reason. Any suggestions?

Besides, I'm wondering about some of our tests sporadically failing for strange reasons. Are there any ideas how we could avoid that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants