Bug 538107 - Make Validation non-blocking
Summary: Make Validation non-blocking
Status: NEW
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.validation (show other bugs)
Version: 3.10   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: wst.validation CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2018-08-21 03:48 EDT by Kiren Pillay CLA
Modified: 2018-08-28 00:54 EDT (History)
2 users (show)

See Also:


Attachments
Disable Validations Dialog (39.30 KB, image/png)
2018-08-27 05:47 EDT, Kiren Pillay CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kiren Pillay CLA 2018-08-21 03:48:23 EDT
The current validation framework prevents other tasks from running until it is complete. While it is a good idea to validate files as a value add, most of the time it is unnecessary and users have to disable it to continue with their development.

While disabling it is a solution, validation does have value, and is useful to the developer. (validation errors can be reported in the errors dialog etc).

I suggest that Validation run in the background but be non-blocking. If the developer runs his code and receives and discovers and error due to validation, the code run would point it out faster than the validation process would. 

While it is running in the background, and say the developer ran his first test run, by that time the validation would hopefully have completed and the relevant markers would presented to the user.
Comment 1 Dani Megert CLA 2018-08-24 12:24:18 EDT
What "validation" do you mean? Please provide more details.
Comment 2 Kiren Pillay CLA 2018-08-27 05:47:00 EDT
Created attachment 275559 [details]
Disable Validations Dialog
Comment 3 Kiren Pillay CLA 2018-08-27 05:49:20 EDT
I'm referring to the Validations that are disables by selecting "Suspend All Validators" in the dialog shown in the attached screenshot.
Comment 4 Dani Megert CLA 2018-08-27 06:09:50 EDT
Looks like this comes from JSON tooling which is not provided by the platform or JDT.

To find out who provides that page, select the page and then press Alt+Shift+F1.