Problems viewing CSS files in Aptana Eclipse Plug-in under Vista 64-bit

Posted by Dan on Mar 4, 2009 @ 8:34 AM

Last week I upgraded my dev system to a Dell Studio XPS-121M--which comes equipped with Windows Vista 64-bit. For the most part, I had no problems getting my software migrated over to the new box. However, for the first time I went to edit a CSS file this morning in Eclipse and was getting a blank screen.

I'm currently using the Aptana plug-in under Eclipse 3.3 (Europa) and thought something was wrong with my installation (since it was just a copy of the old directory.) After trying a number of things, I came across an open ticket at Aptana that indicates there's a problem with the Mozilla XUL support under Vista 64-bit.

NOTE:
The full Aptana Studio was based on Eclipse v3.2 up until Studio v1.3. If you are running an old version of Aptana Studio, you may run into the same issue under Windows Vista 64-bit editions.

To resolve the problem, two fixes mentioned in the ticket worked for me:

  1. Toggle to the "IE Preview" mode and back. Obviously this fix is a real PITA, but at least I knew I was on the right track.
  2. Disable the "Firefox Preview" mode (Preferences > Aptana > Editors > CSS > Preview > Uncheck Firefox.) When I first went to this preference, it didn't show either browser. I then unchecked the "Generate temporary files for browser previews", clicked "OK" and then closed all open CSS files. When I went back to the menu, the browsers were listed in the box again.

Since I don't use the Preview mode (although I suppose that might be handy at times) I just disabled the Firefox support. This seems to be working well for the time being.

The good news is this apparently is fixed in Eclipse v3.4 (Ganymede.) However, last week when I was trying to get things up and running I was having problems connecting to the Eclipse update site, so I'm still on v3.3 for the time being. I'll try upgrading again to v3.4 maybe this weekend.

In the meantime, hopefully this helps someone out.

Categories: HTML/ColdFusion

3 Comments

  • I'm having a problem with Aptana's CSS editing on Eclipse 3.4 (Ganymede) at the moment... It seems to be leaking memory like a sieve, and if you open large CSS files (say 400+ lines) more than a few times in one session the rendering of the editor gets slower and slower until it literally grinds to a halt - scrolling with the mouse, keyboard, typing, everything is affected. My current fix is just to close Eclipse once it gets slow (and is using a good few hundred megs of RAM) and open it again :S Not cool...

    I hope you have better luck!
  • Same bug as the other Justin. Arrr! (No, I'm not a pirate, just frustrated.)
  • Same here about css problem.

Add Comment

Leave this field empty