BowlerHatLLC / vscode-as3mxml

ActionScript & MXML language extension for Visual Studio Code. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.
https://as3mxml.com/
Apache License 2.0
256 stars 39 forks source link

Completion should omit automatic parentheses for arguments of type Function #695

Closed ylazy closed 1 year ago

ylazy commented 1 year ago
function foo(param:Function):void
{
}
function bar(param:*=null):void
{
}

When I type:

foo(ba[tab])

Current result:

foo(bar())

Expected result:

foo(bar);

https://github.com/BowlerHatLLC/vscode-as3mxml/assets/6010183/30e31afb-8981-4cc1-8917-9a1cc53a0318

Thanks!