Skip to content

Jump‐to‐definition for packages, library functions and options #538

Open
@emilazy

Description

Is your feature request related to a problem? Please describe.
Using Nix, especially working on Nixpkgs, involves an awful lot of grepping over the Nixpkgs code to find definitions. It would be great to have it in the editor instead.

Describe the solution you'd like
I think there are some pretty simple heuristics that would work for the majority of cases here:

This could also enable documentation‐on‐hover for these (nixdoc for library functions, description/longDescription/etc. for packages, and the native option documentation), which would be fantastic!

Describe alternatives you've considered
Continue getting really fast at using ripgrep :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions