mirror of
https://github.com/nix-community/noogle.git
synced 2024-11-26 10:24:25 +03:00
649 B
649 B
Pesto
Pesto gives you the extra sauce on top of your lambda noodles.
From a given lambda position extract doc comments and some metadata.
Plugin for Noogle
Extract 'nixdoc style comments' or doc-comment (RFC145) from a given file position.
Usage:
pesto --file "attrsets.nix" --line "11" --column "3"
->
{
"doc": "content",
"arguments": {},
"countApplied": 3
}
Contribute
Generating test dataset
nix build .#pasta -L
Which can the be passed
cargo run -- --pos-file result --format json ./out.json
It is recommended to remove all unneeded entries and operate on minimal list that contains only one entry.