You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to request the following addition to the "Create declaration/definition" functionality: it would be useful if it could generate the declaration/definition where an undefined function is called (#13425)
The text was updated successfully, but these errors were encountered:
@Omcsesz That doesn't seem possible to me -- if it's undefined, then we don't know what signature to use to create it, right? Or am I misunderstanding something (I didn't read the linked thread). The reason create declaration/definition works is that it has one of either the declaration or definition and it uses that info to create the other one.
@sean-mcmanus What I thought is that it could take the parameter list of the undefined function at the place of it's call, and the return value could be the same as the type of the variable it is assigned to. I don't know if this could be realized.
As part of the lightbulb we could also provide choices to make it a free function or a member function (if currently within a member function).
bobbrow
changed the title
additional feature related to "Create declaration/definition"
Generate definition/declaration from undefined function usage
Mar 26, 2025
Feature Request
Hello, team!
I would like to request the following addition to the "Create declaration/definition" functionality: it would be useful if it could generate the declaration/definition where an undefined function is called (#13425)
The text was updated successfully, but these errors were encountered: