0

In PowerShell ISE in Windows 11 (clean install), the Find dialog box no longer searches by pressing the Enter key. It appears the "Find Next" button is no longer set as the default button for the form. Therefore, I have to either Tab five or six times to activate it or press Alt+F which is a bit awkward.

Please advise.

enter image description here

skataben
  • 2,023
  • 1
  • 22
  • 25
  • 2
    Use a different editor – Mathias R. Jessen Jun 27 '23 at 14:15
  • 1
    ISE is practically dead. Recommended modern editor is VSCode with its PowerShell extension. – zett42 Jun 27 '23 at 14:23
  • Note that he PowerShell ISE is [no longer actively developed](https://docs.microsoft.com/en-us/powershell/scripting/components/ise/introducing-the-windows-powershell-ise#support) and [there are reasons not to use it](https://stackoverflow.com/a/57134096/45375) (bottom section), notably not being able to run PowerShell (Core) 7+. The actively developed, cross-platform editor that offers the best PowerShell development experience is [Visual Studio Code](https://code.visualstudio.com/) with its [PowerShell extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell). – mklement0 Jun 27 '23 at 14:31
  • 1
    That's certainly annoying, but, for the reasons stated above, it is unlikely to get fixed. Switching to a different IDE is always painful, but in the case at hand unavoidable in the long run. – mklement0 Jun 27 '23 at 14:34
  • I use VS Code most of the time. It doesn't have virtual space (vertical selection), so I have to supplement it with ISE sometimes. Regardless, my workflow is not the question. What happened between my Win10 and Win11 installs that made ISE this way. Is it just my machine? – skataben Jun 27 '23 at 15:19
  • 1
    I have just reproduced the issue in a Win 11 VM (build 22000.856), EN. Indeed the "Find Next" button is no longer the default. – zett42 Jun 27 '23 at 18:51
  • Actually, VSCode does have vertical selection. Simply press `Shift+Alt` and use the mouse to modify selection area. If that is what you are referring to. – zett42 Jun 27 '23 at 19:47
  • VS Code does have an awkward form of vertical select, but there are some operations it simply can't do without having virtual space. There are gifs that illustrate some of the differences here https://github.com/Microsoft/vscode/issues/13960 and here https://github.com/microsoft/vscode/issues/5402 – skataben Jun 28 '23 at 01:31

0 Answers0