Search code examples
javascripteclipsevalidationworkspace

How to skip eclipse validation of folders for building workspace(Luna Edition)


I want to skip validation of some folders while building workspace. My eclipse spend half an hour every time validating this folders. So, I want no more validation for them. I'm giving the screen shots of folders of my project I want skip. My eclipse mainly stuck in node_modules and vendor folder while validating workspace.

My project:

My project

Contents of problematic folders:

Contents of problematic folders


Solution

  • I faced the problem because I tried to install Angular.js with bower in my project. I seems bower has lots of javascript files it downloaded automatically which caused my IDE to stuck in validation process for a long time. So, I solved this problem this way,

    • I first installed tern.js 0.9.0.
    • Then I went to the project properties, selected tern script path included only the path I needed for validation, My project's javascript folder. I excluded other path like placeholders, Angular.js files, Jquery files.
    • I selected the Javascript from the properties again and did the same things in include path's source.

    My IDE currently working without freezing. I took help from there. Tern I guess it can be helpful, where any IDE stuck due to lots of Javascript file.