Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to re-indent my code but the rails tags <% foo %> get aligned to the left with no indentation. What I'm using is:

markup > utilities > format > pretty print

Does anyone know if there is a way to reconfigure this behavior?


UPDATE:

I just found this out but cant seem to get it working:

"The 'Pretty print' option for Markup -> Utilities -> Format is now implemented internally using a Dreamweaver-style source format profile. This affords slightly prettier output than was possible before. Advanced users can override the factory format profile by placing an appropriately constructed file at ~/Library/Application Support/BBEdit/SourceFormat.profile."

I opened the bbedit app package, found the file, copied it to the folder indicated in "application support" and tweaked the desired indentation width just as a test before touching anything else, and it doesnt seem to do anything.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Well, I cant get it to work for some reason but as mentioned above this is obviously the way:

~/Library/Application Support/BBEdit/SourceFormat.profile

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.