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
When writing a function or method call, or hovering over a reference to a function, the extension is generally able to show the function's parameters. How difficult would it be to extend this to Bind?
For example, if I hover over this.DisplaceFile, the definition is shown as (MyClass) DisplaceFile(sourcePath, destPath, version). Instead of this.DisplaceFile.Bind( merely showing Params*, it would be helpful to show this, sourcePath, destPath, version.
(When calling Bind on a method, there is an explicit this corresponding to the target object for the original method, in addition to the implicit this which is the method itself. Like other parameters, it can be omitted from the bound parameters, and have a value supplied when the bound function is called.)
In effect, the extension could behave as though every function has its own overridden version of Bind which accepts the same parameters as the function (but optional) and every method has the same but with an explicit this parameter.
The text was updated successfully, but these errors were encountered:
This is a feature request.
When writing a function or method call, or hovering over a reference to a function, the extension is generally able to show the function's parameters. How difficult would it be to extend this to Bind?
For example, if I hover over
this.DisplaceFile
, the definition is shown as(MyClass) DisplaceFile(sourcePath, destPath, version)
. Instead ofthis.DisplaceFile.Bind(
merely showingParams*
, it would be helpful to showthis, sourcePath, destPath, version
.(When calling Bind on a method, there is an explicit
this
corresponding to the target object for the original method, in addition to the implicitthis
which is the method itself. Like other parameters, it can be omitted from the bound parameters, and have a value supplied when the bound function is called.)In effect, the extension could behave as though every function has its own overridden version of Bind which accepts the same parameters as the function (but optional) and every method has the same but with an explicit
this
parameter.The text was updated successfully, but these errors were encountered: