You have to options on how to define a function:
// Fancy stuff happening here
// Fancy stuff happening here, too.
Both are accepted ways of defining a function.
The F12 key (at least in AppBuilder) lets you jump to a function if the cursor is located on a that specific function call. However, if your function is defined as in option 2, this does not work. Since the 2nd option has some advantages over option 1, I am using it a lot.
Could you please make the F12 key be able to jump to functions that are defined as in option 2?