intellij-powershell icon indicating copy to clipboard operation
intellij-powershell copied to clipboard

Cannot get a list of all commands / no intellisense

Open vpume opened this issue 5 months ago • 5 comments

In the ancient ISE editor, I could easily get a list of command, e.g. beginning with "GET-"

Image

This doesn't seem possible now:

Image

vpume avatar Jul 02 '25 07:07 vpume

Totally works for me

Image

Could you please give some more details? First, do you have the plugin installed? Which version?

ForNeVeR avatar Jul 02 '25 10:07 ForNeVeR

yes, Version 2.10.0. I use Rider 2025.1.4

Image

Settings are standard:

Image

vpume avatar Jul 02 '25 10:07 vpume

Huh. Ok please try the following: select all the text in the file, hit Ctrl+X (cut it) and then Ctrl+V (to paste it back). Will the completion start working after that?

There's one known race condition that sometimes happens on newly-opened files. I didn't track it yet, but maybe I should start working in that direction.

ForNeVeR avatar Jul 02 '25 20:07 ForNeVeR

When I tried it again today, it worked as expected. But yesterday it didn't... some race condition or other weird stuff must be going on here...

vpume avatar Jul 03 '25 07:07 vpume

Just reproduced a weird situation myself:

Image

Don't think there's anything in the logs relating this issue; no errors or anything. But the LSP clearly sees incorrect file content, and that's stable, even if I close and reopen a tab.

Repro file: https://github.com/ForNeVeR/VerifyEncoding/blob/dfdf9055a478c7d00f9276581411eecc56fcd45f/VerifyEncoding/Test-Encoding.ps1

ForNeVeR avatar Jul 25 '25 22:07 ForNeVeR