atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
180 stars 4 forks source link

Using the "Insert… Closing Tag" shortcut doesn't remove an indent like typing out the closing tag. #1704

Open randallbruder opened 9 years ago

randallbruder commented 9 years ago

The title pretty much says it all. When typing a closing tag on a new line, Chocolat automatically shifts the line a tab back to create clean code. The same tab removal should apply when using the closing tab shortcut.

Behavior is present in version 3.1.3 when typing HTML code—haven't tested with other programming languages.

atg commented 9 years ago

TBH I have always been slightly dubious about that deindent behaviour when typing, because I feel like I have to indent it back again as often as not.

I guess maybe I should bundle both into a preference.