Bug 545921 - Eclipse run validation of resources even when it's disabled
Summary: Eclipse run validation of resources even when it's disabled
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Victor Rubezhny CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2019-03-29 06:53 EDT by nimo mayr CLA
Modified: 2019-03-29 09:51 EDT (History)
1 user (show)

See Also:


Attachments
The following pictures shows my excluded directories. (76.29 KB, image/png)
2019-03-29 06:53 EDT, nimo mayr CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!