vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

LESS: Allow exclusion of files #176

Open bgaillard opened 10 years ago

bgaillard commented 10 years ago

Hi, we use the Eclipse less project for all of our Web projects and have a lot of LESS source files placed inside folders which do not require validation.

For us this is the case for 2 kinds of LESS files :

So, it would be great to add a feature to exclude LESS validation on chosen files and directories. This feature would be provided in the Validators configuration panel of the Eclipse project (see the image snapshot attached to this issue).

image

stefanzero commented 10 years ago

This may be the solution you desire: http://stackoverflow.com/questions/2272237/how-to-exclude-specific-folders-or-files-from-validation-in-eclipse Instead of just , I entered .less in filter rule for the offending folder. Make sure to check the box "All Children".

bgaillard commented 10 years ago

Hi @Stefan0-com and thanks for the link.

Didn't know this feature inside Eclipse, works as explained.

But this does not just disable validation because it also hides the files inside the source tree (which is not great because a developer could believe the files simply does not exists).

Do you know if their are other solutions to disable validation having the files visible inside the source tree ?

pbvahlst commented 9 years ago

I would really like this feature to. It works great in the javascript editor