klesun / deep-assoc-completion

A phpstorm plugin for associative array key typing and completion
Other
267 stars 17 forks source link

Completion popup stopped showing inner keys preview, likely because of IDEA update #172

Closed klesun closed 3 years ago

klesun commented 3 years ago

I relied on a hack of sorts that updated already displayed options by implementing a mutable LookupElement. The update is required because showing preview values often takes one exponential step longer than just the keys list.

image

Possible solutions:

klesun commented 3 years ago

image

I'm adopting such approach for now. I think in deep-js it works similarly.

klesun commented 3 years ago

2020.12.19.001 - basic preview implemented

klesun commented 3 years ago

There is still some dead code and missing functionality left: some syntax constructs and comments. Will need to eventually migrate them to this new approach that does not rely on updating preview window - will leave this issue open till comments are back in preview window at least.

klesun commented 3 years ago

Comments fixed in e8e3802a9e073545c206e141c9b3abeda3ea2a1d