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

autocomplete for builtins #507

Open
adrian-gierakowski opened this issue May 23, 2024 · 3 comments
Open

autocomplete for builtins #507

adrian-gierakowski opened this issue May 23, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@adrian-gierakowski
Copy link

Is your feature request related to a problem? Please describe.

Would be great to get autocomplete when typing builtins. like provided by nil

@inclyc
Copy link
Member

inclyc commented May 23, 2024

Would be great to get autocomplete when typing builtins

I would like to design a system that incrementally evaluate your code on-the-fly, lazily. Not only for builtins. I think in this way nixd builtins documentation will come from real nix evaluator, not be hard-coded in the source code (like nil). This is in design review, do you have some suggestions?

@inclyc inclyc added the enhancement New feature or request label May 23, 2024
@adrian-gierakowski
Copy link
Author

@inclyc this sounds great! However I guess that will take longer to implement. In the meantime it would be great to have hardcoded completions to keep users from going back to nil 😄

@inclyc
Copy link
Member

inclyc commented May 25, 2024

In the meantime it would be great to have hardcoded completions to keep users from going back to nil

I think you can expect a quick implementation as builtins will be relatively trivial, not hardcoded but a trivial version of the large-scale eval system.

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

No branches or pull requests

2 participants