devchat
devchat copied to clipboard
New command to add function declarations instead of full code to context
Is your feature request related to a problem? Please describe.
I need to add a class to the context but the full file is too large. Actually, I only need class and function declarations/signatures, not full implementations. Suppose you write new code using an existing class, often you need to know the function "interfaces" of the class, not every detail of full function code.
Describe the solution you'd like
Add a command to list all function declarations of the selected code or file.
Additional context
This should belong to the theme of using program analysis to help building an efficient context.
You can do this by select a piece of code -> right click -> add to devchat
You can do this by select a piece of code -> right click -> add to devchat
But what I mean was to only add class interfaces, not full code of a class.