Wouldn’t it save us all a ton of time if there was an IDE or code editor for nix that allows navigation (i.e. jump-to-definition).
Also, wouldn’t this remove one of the biggest (if not the biggest) obstacle for beginners to overcome?
When I think about the times when I started with nix, I remember that I had absolutely no clue how packages were built and how modules worked and how to modify stuff, simply because I didn’t know where to find the relevant pieces.
There is the search website where one can search options and get a link to their definition. But always those definitions are built ontop other stuff that is defined at completely different places. So you are again in the dark.
Navigating nixpkgs is far away from trivial and it took me a significant amount of time and caused lot’s of frustration to learn it. It requires a significant understanding of patterns which are established in nixpkgs. And it is hard to grasp these patterns since there is no easy navigation. It’s a huge chicken egg problem that every beginner has to overcome before even getting close of being somehow productive.
Why doesn’t have nix code navigation like any other programming language? Is there some fundamental issue that prevents it? Or did just nobody ever implement it?