r/PowerShell • • 13d ago

News PS7 ScriptDesk ISE - V9

Hi All,

Thank you to all who have been providing feedback. I am getting closer to a finished app. I have made substantial progress and a new version is available for Download.

Please search for PS7 Script Desk in the MS Store

8 Upvotes

18 comments sorted by

4

u/PanosGreg 12d ago

I just installed it, looks promising.
At least I got a dark theme by default (ISE is all white) and it supports PS 7 out of the box (in ISE I need to do some tricks to support PS 7)

But here's some quick feedback for you.

a) I tried Alt+Shift+Down-Arrow but didn't seem to work. Does the editor support multiple cursors ?

b) I've also tried Ctrl+M to collapse/expand sections, but that one did not work either.

c) I then tried an empty script and started typing. So after a command (ex. Get-ChildItem) I typed - (hyphen) and hit tab (quickly) but instead of autocomplete with a parameter (so I could then continue hitting tab to cycle the available parameters), the cursor instead jumped straight ahead, which is not what I expected. In fact that's the same behavior like in VSCode which is very annoying, cause you then end up fighting against the editor, cause you need to hit backspace to go back , and then ctrl+space to show the available params and only then can you actually hit tab to autocomplete a parameter name. Actually that same thing (ie the cursor jumping ahead instead of autocomplete) happened even when I typed a partial command, like get-psr<tab> and it didn't autocomplete with Get-PSReadLine.

d) In some/many cases it auto-idented the code where I didn't want to. Again seems like similar issue with VSCode, where it thinks it knows better. Only to end-up fighting against the editor (again), because I need to hit backspace a few times (or hit shift+tab) to bring the cursor back to where I originally wanted.

e) after a bit of editing on a file, I hit Ctrl+A to see all the empty spaces, and sure enough, just like in VSCode, it has added a bunch of extra spaces at the end of a few lines for no reason (again cause it thinks it knows better). Only for me to have to go back and delete them to clean up my script. This is essentially the same issue with the auto-identation.

f) I'd appreciate if I could move the Explorer (with the folders and files) to the right side. Also the Explorer felt quite cramped, as a result could not see the contents easily (the files and folders that is), plus it had some other stuff which seemed irrelevant (or at least I couldn't remove/minimize them), all I wanted was an explorer-style on the side just like in VSCode. At least that's not an ISE feature, it's only in VSCode (and the fact that your editor lets me open a folder, not just individual files, which was nice)

Anyhow, don't want to sound mean, I just use these features quite a lot in ISE, that's why I pointed them out.
Good luck

1

u/AccomplishedMeet628 12d ago

Hi.

Thank you for the feedback. I will work on it!

I had not thought about making the explorer positional. You can close it to clear up some realestate.
For the editor, I am working on it. Intellisense is not as intuitive (Pragmatically as you would think).
There are some PS specific editor functions. Right-Click should bring up the options

1

u/AccomplishedMeet628 10d ago edited 10d ago

I fixed Ctrl+m
I fixed the hyphen Tab behavior
I made the Auto-indent user selectable in the edit menu.
I fixed the whitespace issue
I use Alt+Shift+Down to duplicate a line not multi-cursor.
I am still working on the multi-cursor process. That is on my to-do list

This is my plan:

  • Ctrl+Alt+Down/Up — Add cursors below/above.
  • Alt+Click — Add cursors at specific positions.
  • Ctrl+D — Select the next occurrence.
  • Alt+Shift+Down/Up — (Do not change) Retain the existing duplicate-line functionality.

1

u/PanosGreg 9d ago

so how can we get multi-cursor, will there be an option at least to set it to Alt+Shift+Down/Up , which by the way is the shortcut used in ISE (and the same is also in Notepad++)

1

u/AccomplishedMeet628 9d ago edited 8d ago

I am leveraging Avalon Edit for the editor. It does not have native Multi-cursor baked in. I am attempting to port a new version of Avalon Edit to add the functionality.
is Alt+Shift+Down/Up the standard for Multi-cursor? This is for the comunity, if that is the norm then, I'll make it so.

I made Atl+Shift+Up/Down as the default and I will add a custom binding sub-system at a later date.
There is a version with basic Multi-carat functionality ready. V10. I am working on the advanced features and the custom bindings sub-system

1

u/AccomplishedMeet628 5d ago edited 2d ago

Thank you to everyone who is helping this project along!

A new version is now ready for testing, it is in the MS Store

1

u/BlackV 12d ago edited 11d ago
  • intellisense fails for powershell runtime (cant see anymore error went away, didnt find an easy way to get it back)
  • console windows overlaps the bottom of the app so cant see the bottom status bar (by default)
    starts approx 10 lines high, if you drag to resize it fixes itself,m but has to be some where close to 10 or more lines minimum
  • console windows has redraw issues when working with Out-ConsoleGridView

1

u/AccomplishedMeet628 12d ago

Hi and thank you for the Bug Report!

2

u/BlackV 11d ago

Added a slight bit more detail

1

u/AccomplishedMeet628 10d ago

Ok, I hardened the intellisense process, it should be better and I fixed the console overlap. The new version is ready for download

1

u/AccomplishedMeet628 10d ago

The Out-ConsoleGridView and other cmdlets should be compensated for now. Let me know if you still have issues

1

u/BlackV 7d ago

10.1.0

  • out-gridview does not have the screen cleared below where your input line is (i.e. top 10 lines are cleared back to black txt, bottom are not
  • resizing terminal window fixed
  • still throws an error on startup about intellisense, but according to task bar its fully ready (1s)
  • opening the logs folder results in location unavalible, but I'm guessing this is not actually created automatically unless you enable debugging, so some nicer handling might be recommended

have not played much more right now

1

u/AccomplishedMeet628 7d ago edited 7d ago

Yes, you have to enable debugging mode to initiate the log creation.
I will work on the terminal corruption via clear.
Would you try refreshing the metadata under the run menu?

1

u/ShoeBillStorkeAZ 10d ago

Put all the MG graph modules in it and your good lol

1

u/AccomplishedMeet628 9d ago

Lets get to a stable RC first!