Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3585

How do we provide SDK function parameters for use in content assistance?

$
0
0

Hey guys,

 

Would anyone know if it's possible for an SDK component to provide custom-defined parameter suggestions via content-assistance in the Script Editor?

 

Ex: when I press CTRL+SPACE when entering a parameter in function "setColor" (as shown below) I'd like to have a list of allowed colors that I define myself, example:   Blue, Red, Green, Yellow.


If it can be done I figure it would be in contribution.ztl but I can't find any documentation on this:

/*Sets the current color of the box. */

void setColor(/* New color */ String newColor){*

     this.color = newColor;

*}

 

BIAL_ContentAssistance.png

Thanks!

Scott


Viewing all articles
Browse latest Browse all 3585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>