What is the red X on my CSS file icon in Aptana Studio 3?
Asked Answered
S

1

3

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?

Sherrilsherrill answered 16/4, 2012 at 6:32 Comment(1)
Do you see a little red X anywhere on the left margin to the left of the line numbers when you open the file? I think that the file parsing is not perfect in Studio 3 yet. There are instances in my Rails project where it finds syntax errors where there are none.Frankpledge
C
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.

Cronus answered 19/1, 2013 at 9:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.