Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 510837

Summary: Autocomplete for type inside javadoc is not working
Product: [Eclipse Project] JDT Reporter: Andreas Höhmann <andreas.hoehmann>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: noopur_gupta
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug
Attachments:
Description Flags
working
none
not working none

Description Andreas Höhmann CLA 2017-01-23 03:01:19 EST
Let's imagine the following piece of javadoc ...


 /**
   * Synchronize events from the hscm eventbus to the particular subsystem guava eventbus.
   * 
   * <p>
   * If there is a "special" system event then a {@link ConfigurationActionEvent} event is posted to the registered subsystem guava eventbus.
   * Currently we are waiting for the following events:
   * <ul>
   * <li>DatamodelChangedEvent</li>
   * </ul>
...

* cursor at >DatamodelChangedEvent[]</li> + ctrl+space -> empty list
* cursor at > DatamodelChangedEvent[]</li> + ctrl+space -> context menu is shown

So the trailing white space seems to be able to fix this behavior.
Comment 1 Noopur Gupta CLA 2017-01-23 03:28:48 EST
I cannot reproduce the issue with Eclipse 4.6 or 4.7 M4 build. Please try with this build:
http://download.eclipse.org/eclipse/downloads/drops4/S-4.7M4-201612080830/

If reproducible, provide the complete code snippet to reproduce it.

(In reply to Andreas  Hoehmann from comment #0)
> * cursor at >DatamodelChangedEvent[]</li> + ctrl+space -> empty list
> * cursor at > DatamodelChangedEvent[]</li> + ctrl+space -> context menu is
> shown

Please provide screenshots of what you see as "empty list" and when the content assist is shown.
Comment 2 Andreas Höhmann CLA 2017-01-23 10:06:07 EST
Created attachment 266409 [details]
working
Comment 3 Andreas Höhmann CLA 2017-01-23 10:06:25 EST
Created attachment 266410 [details]
not working
Comment 4 Andreas Höhmann CLA 2017-01-23 10:07:16 EST
eclipse.buildId=4.6.2.M20161124-1400
Comment 5 Noopur Gupta CLA 2017-01-24 07:59:57 EST
I can reproduce it now with I20170123-2000 also based on the code in the attached screenshots.

No proposals are provided by 
ICodeAssist.codeComplete(int offset, CompletionRequestor requestor, IProgressMonitor monitor) when no space is available. 

Moving to JDT/Core.
Comment 6 Eclipse Genie CLA 2019-01-27 20:31:18 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Andreas Höhmann CLA 2019-01-29 08:19:21 EST
Hi guys, the problem is still present.
I'm using eclipse ide 12_2018 at the moment.