Spring Source toolkit (equal to Eclipse IDE) javascript "Open declaration" is not possible

I am working on a Grails web project using Spring Source Tool Suite 2.9.0 (this IDE is built on Eclipse and looks the same, you can even install eclipse plugins)

I have a subfolder "JS" in the Project folder "MyProject" containing JavaScript files (.js).

When I try to open a javascript function declaration by right-clicking on the call and selecting "Open Declaration F3", I get the error message "resource is not in the javascript project build path"

Is there a way to control that I can follow the function call and definition (I would try even the Eclipse plugin)

+3
source share
1 answer

You need to make sure that you check the specific Eclipse project files in SVN. These files tell Eclipse what type of project it is working with. They also support things like classpathsand dependencies.

The files will be included .projectand .classpathfor the Java project. If you have not added these files to SVN, then Eclipse will not know how to process the project when you check it.

0
source

All Articles