This is not ideal, but you can get HAML syntax highlighting for thin files in Aptana Studio:
- Open "Preferences" (on Mac under "Aptana Studio 3")
- Goto 'General'> 'Editors'> 'File Associations' (or search for 'File Associations')
- Click "Add ..." to add the file type * .slim
- With type '* .slim' highlighted, select “HAML Editor” from the “Related Editors” list
This at least gives you syntax highlighting for strings, characters, some keywords (if, yield, etc.), as well as identifiers and HTML classes.
The big win for me is that the HAML editor uses the best built-in search, which allows you to search for the current file, open files, cover a project or the entire work area. Before making this change, a much more limited search was by default for slim files.
marksiemers
source share