When working in either VSCode or the ISE on a form. How can I tell Intellisense to show the event methods like add_click(), and get tab autocomplete to work in the shell?
When working in a PowerShell window the tab complete doesn't have these methods as options either. As well found that get-member will show the Method only if you use the -Force parameter.
The other event methods and components appear to have the same issue. Just using this as an example.
To replicate
Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName System.Drawing
$Button1 = New-Object System.Windows.Forms.Button
Then Type $Button1. (Then working within VSCode or ISE Add_Click doesn't show. If trying to tab complete in PowerShell window that method does not appear.)
Thanks in advance.