1. expand tabs to spaces
2. add intent in edit mode