Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I suppress certain CSS errors in Aptana Studio 3?

I use Aptana Studio 3 for my web development, and I love it except for a few small gripes. One of these gripes is that Aptana decides to treat some CSS parameters as invalid, marking them with a big red X on that line of code. This is helpful when the error is really an error, but some parameters that are perfectly valid but not a part of the w3 spec (cursor: none, for example) get flagged as invalid.

I would just ignore these errors, but as in any other eclipse variant, an error anywhere in a project results in the whole project marked as having errors. Then I get warnings whenever I try to publish it, which I ignore. This is both annoying and risky-- I could be ignoring a real warning by accident.

Is there any way to suppress specific errors in Aptana/Eclipse, or perhaps to suppress all CSS errors globally?

Failing that, does anyone know a w3-valid alternative to cursor: none; that hides the mouse when it hovers over an element?

like image 697
Mike Turley Avatar asked Jul 11 '11 15:07

Mike Turley


1 Answers

You can add filters for CSS errors, or turn off CSS validation altogether. Please see here for more information:

  1. Go to Preferences > Studio > Validation
  2. Click on the CSS node
  3. Add or edit options as appropriate

http://wiki.appcelerator.org/display/tis/Adding+custom+error+message+filters+to+the+Problems+View

like image 80
Ingo Muschenetz Avatar answered Oct 24 '22 04:10

Ingo Muschenetz