Recent

Author Topic: Tabify?  (Read 198 times)

del

  • New Member
  • *
  • Posts: 28
Tabify?
« on: September 11, 2019, 01:22:09 am »
I understand that tabs are unpopular. I didn't like them either - but that's the rule at work and I've learned to like them. I like the enforced uniform intervals. Especially with whitespace "visible".

OK - so Visual Studio has "Edit->Advanced->Tabify" IIRC, which converts all leading spaces into the correct number of tabs. Geany and NotePad++ have this thing where you select the text to be "tabified" then hit the tab key, and follow it with the shift-tab combo. It works great - it only changes the leading spaces. I haven't found a way to tabify in Lazarus. Is there a way?

lainz

  • Hero Member
  • *****
  • Posts: 3197
    • Lainz
Re: Tabify?
« Reply #1 on: September 11, 2019, 01:53:26 am »
There should (not tested) be a setting in Jedi Code Format, so you don't need to add them by hand, plus your code is automatically formatted.

del

  • New Member
  • *
  • Posts: 28
Re: Tabify?
« Reply #2 on: September 11, 2019, 02:29:04 am »
Thanks - I'll check that out. Jehi was a big help this weekend with 99% of what I wanted it to do (mostly related to begin, end, and case stuff) but it seemed to be better behaved in "space" mode than tab mode. But it made a huge improvement nonetheless. Then I put everything on a thumb drive and used Visual Studio to "tabify" the source files. But I figured there's a better way.