Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

How do I use autocompleted function arguments?
Started by kyle_delaney Dec 02 2016 03:39 PM

No replies to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 19 posts
  • Corona SDK

When I select a function from the autocomplete dropdown menu, it types out the names of all of the function's arguments. This is fine because then it highlights each name for me so I can type out values to replace the names. I can navigate between arguments with tab and shift+tab. But are there any more keyboard commands I'm unaware of when it comes to replacing autocompleted text? For example, is there a way to automatically get rid of all the optional arguments that I haven't already replaced?


Also, if I don't replace all the argument names all at once, tab stops working. That is to say, if I leave that line and come back, I can no longer automatically highlight each argument name to easily replace them. Is there a way to go back into auto-highlight mode?