ynqa / jnv

Interactive JSON filter using jq
MIT License
4.9k stars 54 forks source link

jnv cannot trigger auto-completion while use array #18

Open tlipoca9 opened 8 months ago

tlipoca9 commented 8 months ago
echo '{ "items": [ {"foo": "bar" }, {"foo": "baz" } ] }' | jnv

.items[]
# enter tab nothing happen
# hope show the 'foo' to select

jnv 0.1.2

ynqa commented 7 months ago

@tlipoca9 Yes, .items[].foo is a valid query, but it is currently not supported as a suggestion (meaning it's not a bug). As described in the Features, only simple jq paths are enabled for suggestions.