Bug 534035 - Intelisense not offering methods and variables
Summary: Intelisense not offering methods and variables
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.8   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-25 06:50 EDT by Jiri Engelthaler CLA
Modified: 2022-10-13 14:19 EDT (History)
1 user (show)

See Also:


Attachments
Sample code (5.11 KB, application/x-zip-compressed)
2018-04-25 06:50 EDT, Jiri Engelthaler CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Engelthaler CLA 2018-04-25 06:50:03 EDT
Created attachment 273772 [details]
Sample code

In example bellow, Eclipse not offering (CTRL+SPACE) methods and variables for object with "No default proposals".

Example:

IResourceChangeListener listener = new IResourceChangeListener() {
  public void resourceChanged(IResourceChangeEvent event) {
    switch (event.getType()) {
      case IResourceChangeEvent.PRE_REFRESH:
        final IProject changedProject = (IProject)event.getResource();
        if (changedProject != null) {
          Job job = new Job("") { 
            @Override
            public IStatus run(IProgressMonitor monitor) {
              return Status.OK_STATUS;
            }
          };
        }

        changedProject. -----<<<<<< HERE CTRL+SPACe

        break;
    }
  }
};
Comment 1 Noopur Gupta CLA 2018-04-25 06:58:01 EDT
No proposal is returned from ICodeAssist.codeComplete(..).

Moving to JDT Core.
Comment 2 Eclipse Genie CLA 2020-09-05 16:52:39 EDT
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 3 Eclipse Genie CLA 2022-10-13 14:19:12 EDT
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.