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
Gama11
changed the title
Signature completion with argument default values instead of just "?"
[display] signature completion with argument default values instead of just "?"
Mar 7, 2017
This requires an appropriate structure to be defined in vshaxe first so I know what to target. Note that JsonFunctionSignature does not contain default values.
Could we just add @:optional var value:String to JsonFunctionArgument to match what haxe.rtti.CType.FunctionArgument / dox has? Haxe doesn't have more info than that anyway, right?
You mean for sending the default value as a proper expression structure rather than just a String? Hadn't really considered that, but that would probably be a good idea, especially if more complex default values such as enum values are allowed in the future..
This is basically another instance of #2561 as a reminder:
According to @nadako, this info should be easy to provide in his new Json-based display output.
The text was updated successfully, but these errors were encountered: