Aptana Studio 3 Slim Support

I am using Aptana Studio 3 to develop Ruby on Rails. The project I'm working on uses Slim ( http://slim-lang.com/ ). I was hoping to find editor support and formatting for a thin file type. So far my Google search has some empty ones.

+8
aptana3 slim-lang
source share
2 answers

This may not be a good solution, but Sublime ( http://www.sublimetext.com/ ) has a template for Slim. Using package management ( https://sublime.wbond.net/ ), you can easily install it.

0
source share

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.

0
source share

All Articles