The Computer Oracle

Line wrapping in PowerShell ISE Console?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Dream Voyager Looping

--

Chapters
00:00 Line Wrapping In Powershell Ise Console?
00:41 Accepted Answer Score 11
01:35 Answer 2 Score 1
01:49 Thank you

--

Full question
https://superuser.com/questions/871178/l...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#powershell #powershellise

#avk47



ACCEPTED ANSWER

Score 11


Unfortunately, ISE does not have this functionality... which is weird given that PowerShell (Non-ISE) does.

Unfortunately - the Windows 10/PowerShell 5 ISE isn't any better. The only possible solutions are:

  • Tilde/Backtick (`) - which you've already said you know about
  • Use the ISE "Copy" function when building a command in the cmdlet explorer and then paste into a separate console - hardly ideal, but it may work
  • Develop in a third party application such as Notepad++ and test in ISE/PowerShell
  • Work in the non ISE PowerShell command prompt and use tab completion instead of Intellisense.
  • Investiagte some other ISE such as PowerShell Studio (paid) which seems to wrap lines OK according to a colleague of mine

Sorry I can't be of any more help.




ANSWER 2

Score 1


Word wrap is not supported. You may eliminate the need to scroll to the right to see a complete command by changing the Font size. Go to the Tools tab and decrease the font size.