BigBahss / vscode-cmantic

C/C++ code generation for VS Code: Generate Definitions, Getters, Setters, and much more.
https://bigbahss.github.io/vscode-cmantic/
MIT License
83 stars 9 forks source link

Move definition to matching source file #3

Closed BigBahss closed 3 years ago

BigBahss commented 3 years ago

Adds a new command/code-action to move a function definition to a matching source file. Selecting the function name with your cursor will recommend the code-action in the light bulb menu. It can also be directly invoked from the command-palette/shortcut with the mouse cursor anywhere within the range of the function's DocumentSymbol.

Additionally, smart-placement of function definitions has been fixed for Windows.