9

I'm using Eclipse Oxygen (4.7) with the Eclipse Web Tools Platform installed on Ubuntu 16.04.3. Auto-completion of variables and functions only works provided that the variable or function is local to the file that I'm currently working on. Auto-completion attempts using Ctrl-Space for variables and functions that are located outside the current file result in the dialog with No Default Proposals. Also, auto-completion for var/funcs within the current file are case sensitive, otherwise no proposals are displayed (a problem that I didn't have with previous versions of eclipse).

My project is a JS project and I am using the JS perspective. Under the Source files and folder in the global scope section of the Include Path of my project, the source tab shows Included: (All). Is there something else I need to do?

As a side note, I can't correctly configure the syntax highlighting for Javascript source files successfully. Certain things work fine, but others (like local variables) refuse to use the color that I've selected. Are these all bugs?

NOTE: I'm using the Darkest Dark eclipse theme. I don't know if that has any impact on auto-completion (but seems likely it would for syntax high-lighting).

5
  • I am experiencing the same thing with Oxygen and on macOS Commented Oct 16, 2017 at 23:04
  • Sadly ... me too ... Ubuntu Commented Dec 6, 2017 at 23:35
  • 1
    Happening to me in windows, does anybody has a fix for this? Commented Dec 23, 2017 at 23:32
  • Same on Fedora. Eclipse used to be a great IDE and I didn't have any problems with it. What happened lately? Commented Jan 13, 2018 at 0:44
  • I am experiencing the exact same problem here, Oxygen.2 Release (4.7.2), macOS HighSierra. Can anyone help, please! Commented Oct 5, 2018 at 15:23

1 Answer 1

1

I had the same problem in Eclipse Oxygen using Ubuntu 18.03, and I fixed it doing next:

Go to Window -> Preference -> Javascript -> Editor -> Content Assist -> Advanced and put the configuration like this one

Javascript Content Assist Advanced configuration

After that I was able to autocomplete Javascript code.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.