View Full Version : [OPEN] How good is code hinting : re: renderer for grid column

3 Aug 2015, 9:37 AM
I am considering switching from SA to Webstorm, but have a question re: how much will I have to remember.

In SA, if I click to add a renderer to a grid column, it populates the function with all of the parameters. so, I get the following for "free"

renderer: function(value, metaData, record, rowIndex, colIndex, store, view)
Is there a way to do this with the plugin? Or, do I have to either remember the signature of all of the functions (or create a LOT of live templates?



3 Aug 2015, 10:19 AM
Currently it only fills in function parameters when you use the quick fix to create a missing event listener, not when completing configs, as would be the case for the renderer method. It looks like the Ext JS source code does have the metadata we would need to fill in those parameters, so I'll add it in as an enhancement for future consideration.

3 Aug 2015, 10:20 AM
Thanks for the report! I have opened a bug in our bug tracker.