Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jnv cannot trigger auto-completion while use array #18

Open
tlipoca9 opened this issue Mar 22, 2024 · 1 comment
Open

jnv cannot trigger auto-completion while use array #18

tlipoca9 opened this issue Mar 22, 2024 · 1 comment
Labels
feature request New feature or request

Comments

@tlipoca9
Copy link

echo '{ "items": [ {"foo": "bar" }, {"foo": "baz" } ] }' | jnv

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

jnv 0.1.2

@ynqa
Copy link
Owner

ynqa commented Mar 23, 2024

@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.

@ynqa ynqa added the feature request New feature or request label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants