mufeedvh / mufeedvh/code2prompt
Function headers in source tree.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.7k
- Forks
- 447
- Avg merge
- 2h 35m
- Merged PRs (30d)
- 2
Description
Hi is it possible to add function headers in the source tree.
By function headers i mean only the first line of the function with contains the name, arguments and return type.
This will utilize less tokens and help give the LLM an overview of the source code.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the code that generates the source tree and read how it currently represents source files. Define which languages and function signatures are supported, then verify that the output retains each function's first line with its name, arguments, and return type while reducing token use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100