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

Rewrite .list$foo as .list[["foo"]] #4

Open
gadenbuie opened this issue Nov 30, 2022 · 0 comments
Open

Rewrite .list$foo as .list[["foo"]] #4

gadenbuie opened this issue Nov 30, 2022 · 0 comments

Comments

@gadenbuie
Copy link

Another idea for the roadmap: I often start writing code like this

.list$foo$bar$baz

where auto-complete helps fill in the list items. But later I'll refactor to ensure that I'm using [[ to access list items safely.

.list[["foo"]][["bar"]][["baz"]]

An addin to toggle between these formats would be an awesome addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant