Recent

Author Topic: [Solved] Auto indent  (Read 4628 times)

coimbras

  • New Member
  • *
  • Posts: 14
[Solved] Auto indent
« on: June 05, 2018, 03:26:53 pm »
Hello.

I have checked the option "auto indent" but it does not format the code.

Is there some option different from Tools -> Options -> Editor -> General -> Tab and Indent, tha could format/indent the code i have now?

Thanks.
« Last Edit: June 08, 2018, 06:16:09 pm by coimbras »

Fahmy Rofiq

  • Jr. Member
  • **
  • Posts: 83
Re: Auto indent
« Reply #1 on: June 05, 2018, 03:32:53 pm »
Jedi Code Formatter? Press Ctrl+D
You may have to install jcfidelazarus package first.
Lazarus Trunk + FPC Fixes 32bit
Windows 10 x64

Handoko

  • Hero Member
  • *****
  • Posts: 5154
  • My goal: build my own game engine using Lazarus
Re: Auto indent
« Reply #2 on: June 05, 2018, 03:34:48 pm »
I'm late, maybe still useful:


Lazarus main menu > Source > JEDI Code Format > Current Editor Window

coimbras

  • New Member
  • *
  • Posts: 14
Re: Auto indent
« Reply #3 on: June 05, 2018, 03:47:53 pm »
Jedi... to a new in Lazarus never imagine :)

Well it works, if first in other text editor put everything indent on left, then copy to Lazarus and CRTL+D.

Thanks, its good now!

:)

 

TinyPortal © 2005-2018