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

Find/Replace Overlay: "Content Assist Available" ctrl+space does not work in .java files #2651

Open
Tracked by #2021
jukzi opened this issue Jan 2, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@jukzi
Copy link
Contributor

jukzi commented Jan 2, 2025

When enabling regular expression i get a hint that ctrl+space would open content assist but it only adds a space
image

@jukzi jukzi added the bug Something isn't working label Jan 2, 2025
@jukzi jukzi changed the title "Content Assist Available" Find/Replace Overlay: "Content Assist Available" ctrl+space does not work Jan 2, 2025
@jukzi
Copy link
Contributor Author

jukzi commented Jan 2, 2025

windows, I20241230-1800

@HeikoKlare
Copy link
Contributor

That's interesting. The issue is not reproducible for me, it works as expected:
image

@jukzi
Copy link
Contributor Author

jukzi commented Jan 2, 2025

for .xml files it works for me too but not with .java source code

@jukzi jukzi changed the title Find/Replace Overlay: "Content Assist Available" ctrl+space does not work Find/Replace Overlay: "Content Assist Available" ctrl+space does not work in .java files Jan 2, 2025
@HeikoKlare
Copy link
Contributor

Thank you, I missed the specialization to .java files. I can indeed reproduce the issue there. Seems to be related to how key bindings work / are disabled in (Java) editors. It's a rather complicated / hacky solution to support such an overlay for an editor.

@jukzi
Copy link
Contributor Author

jukzi commented Jan 2, 2025

Please provide what ever API is needed for editors like jdt and disable the hint when it is disabled by the editor

@HeikoKlare
Copy link
Contributor

Added this to the umbrella issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants