7

I'm developing a web project in Eclipse and using a bower. Some of libraries which I used has demo files and its own dependencies which related to structure of project which is different from structure of my project. Eclipse complains and gives me a lot of errors:

enter image description here

How can I disable validation of included resources in these folders? I already disabled JavaScript validation on these folder as described here: How do I remove javascript validation from my eclipse project?

Thank you.

Community
  • 1
  • 1
Anatoly
  • 5,056
  • 9
  • 62
  • 136
  • What `Type` of problem are they as shown in this view? – nitind Aug 24 '15 at 13:35
  • @nitind, you mean when I open a file in an editor? If yes it shows that path to required file is wrong and shows red error marker. – Anatoly Aug 24 '15 at 14:03
  • No, I assume that screenshot was cropped from the Problems or Markers View in the workbench. The value in the *Type* column can be a clue as to where you have to go to shut them off. – nitind Aug 24 '15 at 14:16
  • There's written `Web Resource Problem` in the `Type` column of `Problems` view, thank you. – Anatoly Aug 24 '15 at 14:31

1 Answers1

9

Check the Web Resources preference page for options when it comes to validation. It's provided from https://github.com/angelozerr/eclipse-wtp-webresources .

nitind
  • 19,089
  • 4
  • 34
  • 43
  • 1
    Thank you, I've changed settings that it will raise warning instead of error, but it will be great if I could exclude some folders from validation path in future. – Anatoly Aug 28 '15 at 07:35
  • 2
    To add this config will be under Preferences / Web / Web Resources. – pm_labs Aug 18 '16 at 01:56