microsoft / powerquery-language-services

Library to provide intellisense and other language services for the Power Query / M language.
MIT License
41 stars 12 forks source link

[BUG] Autocomplete suggestions in improper location #219

Open JordanBoltonMN opened 1 year ago

JordanBoltonMN commented 1 year ago

Expected behavior I'd expect the following to not give autocomplete items:

let foo |=

Actual behavior Returns a list of keywords for expressions: image

To Reproduce See above.

Additional context Add any other context about the problem here.

JordanBoltonMN commented 1 year ago

It appears that ActiveNode's ancestry thinks it's in the context for the value portion of the key-value-pair.