How to Suppress Certain CSS Errors in Aptana Studio 3

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

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

Disabling CSS Validation in Aptana Studio

I'm on Aptana 3.0.9 for Linux. So hopefully it is the same on whatever OS you're using. But I figure it should be the pretty close.

This solution will turn off the errors completely for css

Basically similar to the first link you posted.

Go to Window -> Preferences -> Aptana Studio -> Validation

Now on this tab, if CSS is not selected, select it.

There should be a part for Validators. W3C Styleshet Validator should be checked. If you uncheck it, the css validation goes away and you don't get errors any more.

Disabling CSS validation in Aptana Studio 3

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.

Ignoring CSS Expressions in Eclipse/Aptana

Turns out that Aptana's CSS validator isn't being properly updated and there's a bug in reading the filters. The only true solution I found was to change over to Eclipse.

Aptana Studio 3.0.4: Errors and warnings stuck in Problems pane

Maybe you have the auto-build turned off (so, turning it on and making a refresh in the file structure could make them go away in a new analysis).

If that doesn't work, try selecting the folder that contains the files with those errors, right clicking it and selecting: PyDev > remove error markers (the errors are not related to PyDev, but that action should remove any error markers, being from PyDev or not).

How do I change my code to avoid warning should trim empty div in Aptana Studio?

For Aptana Studio users:

Windows: go to Window > Preferences > Aptana Studio > Validation

(Mac: go to Aptana Studio > Preferences > Aptana Studio > Validation)

Select HTML Tidy Validator then some collapse-able options will appear. Select Elements, it will show a list of options. Now go to the bottom of the list and you'll see "Trim Empty Elements": change it from warning to ignore.

Wrong CSS validation error? Aptana studio vs W3-Validator

as long as your files are saved and the page is delivered with an encoding that supports german umlauts like "Ü" (utf-8, for example), everything is fine. if so, and Aptana studio still shows an error, it's a bug in Aptana studio.

Aptana Studio 3 - SFTP - Preview not displaying CSS/JS. What's wrong?

The files from your remote server might not be synchronized with the files on your computer.

Check your Synchronization options to ensure you tell Aptana to 'sync from your remote site to your machine' - if you do not have all the files from the server on your computer, you need to do this at least once before you start working on your changes.

After this, you will want to decide how to keep the changes made on your computer in sync with the server (either manually upload them yourself, or tell Aptana to automatically synchronize them)

Check this page for a brief tutorial on how to set up the sync options (step 7):
http://www.danielrosca.ro/blog/en/aptana-studio-and-ftp-server/

How can I stop Aptana collapse all the codes by default?

That's called code folding, you can disable it from the preferences

It's enabled by default, but can be toggled in the language-specific editor settings.

Go to:

Preferences > Aptana Studio > Editors > [Language: PHP, Ruby, etc.]

In your specific language's editor deselect the 'Enable Folding' option



Related Topics



Leave a reply



Submit