question

rainmakers-3202 avatar image
0 Votes"
rainmakers-3202 asked

Howto get Intellisense or tab complete to show event methods for Windows Form buttons and other components

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.

power-query-not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers