lazywinadmin / ASTExplorer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASTExplorer - PowerShell AST GUI

An easy way to explore abstract syntax trees in Powershell.

Description

I cannot take credit for all of the code. I just revamped another project that used winforms in a single function. The link for the project is at the top line of the script for reference (equally worth checking out, especially if you are not running a more recent version of .NET). I converted the project to be a single xaml form, revamped the textbox a little, added a load button with dialog box, and did some other minor tweaks. There are some minor problems with highlighting text in the unfocused textbox control at times. If the selected text looks 'off' then simply tab and shift-tab back to the treeview to correct the view. I lost patience with the xaml underpinnings of this issue. I'm welcome to suggestions on a fix to both that issue and a workable method for scrolling the textbox to the beginning of the selection automatically.

Other Information

About


Languages

Language:PowerShell 100.0%