Announcement

Collapse
No announcement yet.

How to indent

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Are you working under mac and Safari??
    /Giuseppe

    Professional Scriptcase Services
    Some Customers opinions

    Comment


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

      Comment


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

        Comment


        • #5
          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.

          Comment


          • #6
            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.
            /Giuseppe

            Professional Scriptcase Services
            Some Customers opinions

            Comment


            • #7
              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 :-)

              Comment


              • #8
                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.
                /Giuseppe

                Professional Scriptcase Services
                Some Customers opinions

                Comment


                • #9
                  Thanks for suggestion Giu.
                  In fact, notepad++ is the tool I use with scriptcase :-)

                  Comment

                  Working...
                  X