0

I'm developing a web application on java and I have a number of js files there. Is it possible to configure eclipse ee to make autocomplete in javascript code in js files in a java project?

How is it possible, if it's possible?

2
  • Why do you have js files in a Java project? Commented Aug 27, 2012 at 10:39
  • It's a web application, so I have js files. Commented Aug 27, 2012 at 10:49

1 Answer 1

2

Right-click on the project (in the Project or Package Explorer), and from the Configure menu, make it a JavaScript project as well. This won't remove any Java features from the project, it will simply make it able to have the features of a JavaScript project at the same time.

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

5 Comments

in configure menu I have "convert to javascript project" are sure this won't remove any java-specific features? I vaguely remember that I tried this once. After I did that in configure menu appeared "convert to Java project" and I assumed that conversions removes java-specific features.
Correct, it will NOT remove any Java features.
thanks, it's worked. I hope eclipse won't screw up. Because I remember that last time when I experimented with project configuration changes, i.e. changing "nature" of project, it started behave strangely and I had to create project anew or reinstall eclipse.
This added the nature and configuration files into the .setting folder of the project. It doesn't change existing ones, not should anything on that menu.
Hmm, that should have been "nor should anything on that menu."

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.