mirror of
https://github.com/nix-community/noogle.git
synced 2024-11-20 18:29:03 +03:00
bdbd37bd60
* Pesto: handle single line comment The first single line comment is displayed as a fallback if no other documentation could be found * Website: Handle bare-urls, dont sanitize foreign cross references |
||
---|---|---|
.. | ||
src | ||
test_data | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
flake-module.nix | ||
json.json | ||
README.md |
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.