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

nixd: code actions #466

Open
3 tasks
inclyc opened this issue Apr 26, 2024 · 2 comments
Open
3 tasks

nixd: code actions #466

inclyc opened this issue Apr 26, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@inclyc
Copy link
Member

inclyc commented Apr 26, 2024

  • add undefined variable as top-level formal
  • split an subexpression, with import ./file
  • with ..; let / inherit
@inclyc inclyc added the enhancement New feature or request label Apr 26, 2024
@VTimofeenko
Copy link

VTimofeenko commented Apr 28, 2024

If I may request, a couple more:

  • flatten attrset:

    { foo = { bar = "foz"; } };

    to

    { foo.bar = "foz"; }
  • pack into nested attrset:

    foo.bar = "foz";
    foo.baz = "faz";

    to

    foo = { 
      bar = "foz";
      baz = "faz";
    };

@inclyc
Copy link
Member Author

inclyc commented Apr 28, 2024

Thanks, any more ideas are welcomed!

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