I have been writing nix expressions mostly using command line editors like nano, but as things get more complex I find myself more and more confused, especially when reading other peoples code, i.e. when reading nixpkgs code.
I often come across code which includes a bunch of namespaces using
with builtins; with lib; with foo; with bar followed by a bunch of function calls and names that I have no idea where they originate from.
Most IDEs have features which allow the user to search for the definition of a function or name which is incrediby useful to learn more about frameworks and libraries imo. Also auto completion would be really helpful to get to know which functions or members are available on certain objects.
I.e. geting autocompletion after typing
builtins. would be much quicker than scrolling through its source file on github.
Is something like that available for nix in any ide or text editor?
If so, which offers the most complete solution? So far I have tried the vscode and intellij plugins and lsp support for both vscode and intellij using the nix-lsp, but both are pretty disappointing.