question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autocompletion sometimes not working for method reference

See original GitHub issue

Environment

  • Operating System: Windows 10 Build 18362
  • JDK version: 12
  • Visual Studio Code version: 1.37.1
  • Java extension version: 0.47.0
Steps To Reproduce
  1. Pick a suggested method by hitting enter
  2. Try to get a list of suggested method references
Current Result

result

Expected Result

If forEach( gets written out manually (without hitting enter on the autocomplete suggestion), autocompletion for method references works. expected

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JoseLioncommented, Nov 21, 2020

@snjeza @fbricon any news around this issue? To be honest, it has become very difficult to use “method reference” in VSCode as autocomplete breaks in the whole chain once a method reference is used:

return request.bodyToMono(type)
  .map(validator::validate) // <---- After this, autocomplete will not work. After the `;` it works again
  .flatMapMany(Flux::fromIterable)
  .map(this::errorToMessageKey)
  .map(I18n.with(request.exchange())::get)
  .collectList()
  .filter(not(List::isEmpty))
  .flatMap(unprocessableEntity()::bodyValue);

I hope this can be fixed soon. Also, I’ll be happy to help out if you point me in the right direction. 🙂

0reactions
JoseLioncommented, Sep 10, 2021

@snjeza @fbricon this seems to be solved now! I think this can be closed, at least from my side 🙂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eclipse autocomplete not working - Stack Overflow
The solution is not to tick/untick some stuff under Windows->Preferences->...->Content Assist-> Advanced. I checked if "ctrl+space" is hijacked by some other ...
Read more >
Eclipse doesn't autocomplete and find references anymore
Try this: Go to Preferences » Java » Editor » Content Assist » Advanced. Make sure Other Java Proposals is ticked/checked. If that...
Read more >
Code completion not working in 10.2 | Apple Developer Forums
I've turned auto-complete on and off - and still nothing. Other projects work, but there is no indication why this specific project keeps...
Read more >
Auto-Complete may not work - Office | Microsoft Learn
Describes an issue in which the Auto-Complete feature may not work when you type text in a cell in Microsoft Excel.
Read more >
IntelliSense in Visual Studio Code
This can be caused by a variety of reasons. First, try restarting VS Code. If the problem persists, consult the language extension's documentation....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found