This is a feature request, which would be fairly easy to add to this package. Changing [line 50 in the generator](https://github.com/rm-code/love-atom/blob/master/generator/json-generator.lua#L50) to ```lua arguments[#arguments].displayName = string.format( '[%s=%s]', v.name, v.default ) ``` This would autocomplete functions like: ```lua love.graphics.printf(string,x, y, [align=left], [r=0], [sx=1], [sy=sx], [ox=0], [oy=0], [kx=0], [ky=0]) ``` Note that the argument list can become quite long, so this should be carefully considered
Activity
rm-code commentedon Nov 25, 2017
Hm that could be an issue, but the length wouldn't be a problem as soon as the line is pasted to the editor, right?
pablomayobre commentedon Nov 25, 2017
When the autocomplete is performed it becomes:
This is autocomplete-lua behaviour (
argDisplayis only used in the autocomplete tooltip)