nixd
                                
                                 nixd copied to clipboard
                                
                                    nixd copied to clipboard
                            
                            
                            
                        nixd: code actions
- [ ] add undefined variable as top-level formal
- [ ] split an subexpression, with import ./file
- [ ] with ..;let / inherit
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"; };
Thanks, any more ideas are welcomed!
- [ ] "remove unused definition" for the warning definition X is not used (sema-def-not-used)
I use noogle.dev a lot. A "open in noogle.dev" code action would be neat for any function in the lib attribute set from nixpkgs
from: https://github.com/oxalica/nil/blob/c8e8ce72442a164d89d3fdeaae0bcc405f8c015a/docs/code_actions.md
- [ ] add_to_top_level_lambda_paramAdd an undefined name to the top-level lambda.
{ foo }: foo + bar
=>
{ foo, bar }: foo + bar
- [ ] quote_attrandunquote_attrRewrite between attribute names and double quoted strings
{ foo = bar; }
<=>
{ "foo" = bar; }