# AS3 - Custom code hinting for method/function arguments

**URL:** https://forum.kirupa.com/t/as3-custom-code-hinting-for-method-function-arguments/332247
**Category:** flash
**Created:** [March 21, 2014, 3:51am UTC](https://forum.kirupa.com/t/as3-custom-code-hinting-for-method-function-arguments/332247 "2014-03-21T03:51:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nomulus](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@Nomulus](https://forum.kirupa.com/u/Nomulus)
#### Post date: [March 21, 2014, 3:51am UTC](https://forum.kirupa.com/t/as3-custom-code-hinting-for-method-function-arguments/332247/1 "2014-03-21T03:51:50Z")

</div>

Hi all,

I was wondering if anyone knew if it were possible and if so how to create custom code hinting for arguments related to a function/method.

eg. if I create a function:

```auto
public function hello(age:int, name:String):void {
}

```

then when I call that function by typing: hello(  
a code hinting pop-up will appear telling me what types of arguments to enter: (age:int, name:String)

Can anything be added to the function definition itself to customise this if, for example, you had restrictions:

so the hint would show: (age:int [between 18-40], name:String [choose Gary, John or Jim only])

thanks.
