How to indent

Hello,
I wrote several php functions , which I included to a scriptcase project via internal library.
Is it possible in the scriptcase user interface, when editing a interal library, to having automatic indentation ?
I have often to edit hundreds of lines, and I did not find a way to indent code visually.

Thanks

Are you working under mac and Safari??

Giu, thanks for replying me.
No, I am working under Windows and Firefox.

No there isnt. The easy way is to use an external program or website like phpformatter.com and copy paste it :frowning:

Thanks for the answer rr.
I will put this as a requested feature for future versions . But I guess I am not the first to ask it.

But I don’t understand. I can tab and indent the code. I asked if under Safari and Mac, because on a csutomer the other day, I noticed tab wasn’t indenting code with TAB key, just webpage loose focus.

Yes, TAB it works .
I did mean something more evolute in writing php code, sort of PHP IDE .
99% of times when edit a library , I spend time finding an unclosed bracket and similar :slight_smile:

Oh, I understand. Well, SC uses AFAIK codenlmirror, and for me IMHO, is enough. Yes, I miss a better and updated code completion, and some things here or there, but for day by day its ok. One thing you can do is just open your internal lib, copy all and paste on notepadd++, do your updates and paste this complete to internal lib. Keep notepad++ (or your prefered editor) and all the changes do it on this opened file, and just paste when needed on intarnal lib, just for generate.I do this way when I need to edit large chunks of code.

Thanks for suggestion Giu.
In fact, notepad++ is the tool I use with scriptcase :slight_smile: