Skip to content

Opening brackets causes suggestion box to appear unwanted #1511

New issue

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

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

Already on GitHub? # to your account

Closed
ddiegow opened this issue Mar 18, 2025 · 4 comments
Closed

Opening brackets causes suggestion box to appear unwanted #1511

ddiegow opened this issue Mar 18, 2025 · 4 comments
Assignees
Labels
for: vscode something that is specific for VSCode theme: code completion type: bug

Comments

@ddiegow
Copy link

ddiegow commented Mar 18, 2025

Describe the bug
When opening brackets for a function the suggestion box appears immediately, forcing me to cancel it every time (VSCode editor)

To Reproduce
Type a function, open brackets and the suggestion box pops up (I disabled all my extensions, enabled them one by one and the culprit seems to be the Spring Boot Tools extension)

Sample

Image

@BoykoAlex
Copy link
Contributor

BoykoAlex commented Mar 18, 2025

@martinlippert I'd probably simply exclude the { from trigger chars for completion proposals... #1513 The completions shown are applicable to the block... it is just that content assist is triggered at the wrong time... The downside of this fix would be not triggering content assist automatically once typed: @Value(${... From this perspective we could probably not show bean proposals if invoked for something like {^}... not sure if this is a good idea though.

@martinlippert
Copy link
Member

@BoykoAlex Let's remove the trigger character for now and quickly include that in the 4.29.1 fix release. We can then re-think this in more depth for the 4.30.0 cycle.

@martinlippert
Copy link
Member

Created #1514 as a follow-up for the 4.30.0 cycle.

@BoykoAlex
Copy link
Contributor

Fixed for 4.29.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
for: vscode something that is specific for VSCode theme: code completion type: bug
Projects
None yet
Development

No branches or pull requests

3 participants