Unsupported Screen Size: The viewport size is too small for the theme to render properly.

How To Indent Code In Sqlyog ?

forums forums SQLyog Using SQLyog How To Indent Code In Sqlyog ?

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #12935
      sanko
      Member

      I have a store procedure.

      It has many nested IF ELSE block. These are not properly indented.

      How do I indent nested IF ELSE block properly and increase readability of my code ?

      Its very difficult to read a unindented code.

      Please help. Thanks

    • #34210
      peterlaursen
      Participant

      You can indent lines like in most editors: select the lines you wnat to indent and press the TAB key (and BACKTAB for 'unindent'). Note that 'preferences' (editor tab) has some settings on how this work. You may define the width of the indentation and you may define if a single TAB character should be inserted or a number of SPACE characters.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.