问题
I have a CSS file for a Wordpress theme whose icon is overlayed with a red "X". I can't find any errors in the file. The CSS is working properly on the site, and I tried turning off the CSS validator in preferences as recommended here.
Here is a screenshot of what the red X on the icon looks like:
Is this some other kind of validation I can turn off or is there something in the CSS I must fix to get Aptana to stop whining?
回答1:
Yes this indicates a validation problem with the file. To disable it do the following:
Open your project and navigate to Window -> Preferances -> Aptana Studio -> Validation
Un-Check the grren check under "Build" in the CSS Syntax Validator.
It should prompt you to do a "full rebuild", select "yes", after this you should notice the "red X" disappear.
来源:https://stackoverflow.com/questions/10169630/what-is-the-red-x-on-my-css-file-icon-in-aptana-studio-3