BASIC

Author Topic: Automated indentation fix  (Read 1912 times)

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Automated indentation fix
« on: 2009-May-29 »
I would love automatic indenting and automatic indentation fixing.

eg. I would type
Code: GLBasic [Select]
for x=1 to 10
and it would automatically insert a tab on the next line.

Or I could highlight a section of code
Code: GLBasic [Select]
for x=1 to 10
print x,100+x,100+x
next
and select "fix indentation" and it would change it to
Code: GLBasic [Select]
for x=1 to 10
     print x,100+x,100+x
next

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5009
  • O Rly?
    • View Profile
Re: Automated indentation fix
« Reply #1 on: 2009-May-29 »
noooooooo, its annoying!
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline FutureCow

  • HelpEditor
  • Prof. Inline
  • ******
  • Posts: 680
    • View Profile
Re: Automated indentation fix
« Reply #2 on: 2009-May-29 »
I imagine if Gernot implemented it that he'd make it so you'd be able to turn it on and off.

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5009
  • O Rly?
    • View Profile
Re: Automated indentation fix
« Reply #3 on: 2009-May-29 »
that can be the deal!
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2666Mhz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard