问题
Anyone know how to disable CSS validation with Aptana Studio 3? In version 3.0.4 the warnings remain even after completely disabling the W3C CSS Validator.
Any ideas?
回答1:
Have you tried to manually delete all existing warnings? Disabling the validator will not create any new warnings, but the existing warnings remain.
Right click on the warnings and click Delete.
回答2:
This is a known issue with Studio 3.0.4: http://jira.appcelerator.org/browse/APSTUD-3371.
A workaround is to do a Project > Clean on the selected project, or you could update to the nightly build using the instruction at http://aptana.com/r/apupdate.
回答3:
I think that the problem is still there. If I switch the CSS validator off and clean the project, the errors disappear. On the other hand, if I turn on and add some regular expressions in order to exclude some errors, the validator still shows the "excluded" errors, even with after executing a "clean project" command. It look likes that the regular expressions are somehow omitted.
BTW, I'm working with the version Aptana Studio 3, build: 3.1.1.201204131931
来源:https://stackoverflow.com/questions/7323107/disabling-css-validation-in-aptana-studio-3