Bug 545921

Summary: Eclipse run validation of resources even when it's disabled
Product: [WebTools] JSDT Reporter: nimo mayr <enegy>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: NEW --- QA Contact: Victor Rubezhny <vrubezhny>
Severity: normal    
Priority: P3 CC: daniel_megert
Version: unspecifiedKeywords: needinfo
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
The following pictures shows my excluded directories. none

Description nimo mayr CLA 2019-03-29 06:53:48 EDT
Created attachment 278067 [details]
The following pictures shows my excluded directories.

I have set up "Java-Script-Validation" globally by using "Eclipse->Settings->Validation". The following pictures shows my excluded directories:

Project-specfic validation is turned off, so it defaults to this global validation settings..

However, sometimes it works, sometimes it does NOT. For example, when I clean the project by "Project->Clean", then Eclipse does automatically makes a validation. This is normal, however, eclipse also validates those excluded javascript-files in these directories. In short: eclipse validates javascript files even in these excluded directories. Bug? 


By the way, it does not make sense to validates those directories such as "node_modules" by default, regardless if those files contains js or other file extensions. Eclipse should exlude the validation of those folders for all file-types by default, because these folders are nothing more than 3rd party libs. Eclipse doesnt validate 3rd party libs from java, so why it does validate 3rd party libs von js/node by default?
Comment 1 nimo mayr CLA 2019-03-29 06:54:17 EDT
I use:

Eclipse IDE for Enterprise Java Developers.

Version: 2019-03 (4.11.0)
Build id: 20190314-1200
Comment 2 Dani Megert CLA 2019-03-29 07:16:19 EDT
This comes from JavaScript tooling. Do you know which tooling you're using? If not, go to that dialog and press Alt+Shift+F1. This will give you the plug-in name.
Comment 3 nimo mayr CLA 2019-03-29 07:27:04 EDT
I do use the default "JavaScriptTooling" comming from "Eclipse IDE for Enterprise Java Developers" Version 2019-03. Did not do anything special..the "plugin selection spy" does not have any special plug-in-name, only eclipse standard..The active shell class: WorkbenchWindow. 

By the way, such tedious and senseless validations from "node_modules"-directory or *min.js files should be exluced by default!