vscode-csharp
vscode-csharp copied to clipboard
Autocomplete Method Signatures
Proposal
Autocomplete the method signature when writing a method.
For example:
This should insert a snippet that essentially matches the declaration, minus the types and default values.
Every parameter should be a tab stop (i.e. you can use the ⇥ Tab key to navigate to the next parameter).
Math.Clamp(value, min, max);
value, min, and max will be tab stops.
I understand that this may be made difficult due to method overloading, I've opened an issue on the VSCode repo:
- https://github.com/microsoft/vscode/issues/201285
If this gets approved, then you will be able to choose the overload you want from the suggest widget, and then it will autocomplete it with signatures when you accept the suggestion.
However, as an initial step this should ideally apply to any method with only one overload.