Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Path matching in TextSelectionToIVariable does not work on Windows #1175

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

FlorianKroiss
Copy link
Contributor

  • Convert sourceElement to URI before comparing paths
  • Bump point version of org.eclipse.lsp4e.debug

+ Convert sourceElement to URI before comparing paths
+ Bump point version of org.eclipse.lsp4e.debug
@FlorianKroiss
Copy link
Contributor Author

Closes #1173

@@ -125,7 +128,15 @@ private boolean match(IDocument document, DSPStackFrame frame) {
final var uri = LSPEclipseUtils.toUri(document);
if (uri == null)
return false;
return Objects.equals(uri.getPath(), sourceElement);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment here just to remember the case of \ conversion

@mickaelistria mickaelistria merged commit bbb919d into eclipse-lsp4e:main Jan 13, 2025
5 of 6 checks passed
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