Code lines alignment in a script file

Welcome Forums General PowerShell Q&A Code lines alignment in a script file

This topic contains 2 replies, has 2 voices, and was last updated by

 
Inactive
3 years, 3 months ago.

  • Author
    Posts
  • #27038

    Inactive
    Points: 0
    Rank: Member

    Hi,
    Could someone tell me, do we have any built in tools/scripts which will align my source code (tab, space, (),{} ..etc )? because at present I have a very big script for which I cannot manually align the code as it is not readable now.

    Thanks in advance.

  • #27040

    Participant
    Points: 45
    Rank: Member

    Hi Vidya,

    What you could do is download a trial of a fantastic product called ISESteroids, which has this factoring option built in, amongst lots of other really neat features.

    http://www.powertheshell.com/isesteroids2/download/

  • #27043

    Inactive
    Points: 0
    Rank: Member

    Thanks very much Tim, this hint saved my many hours of time.. 🙂

The topic ‘Code lines alignment in a script file’ is closed to new replies.