Share Your Code
There are occasions when you want the list of functions and symbols in Corona. This is a method to easily obtain them.
For example, there's a nifty add-on for editors called BBAutoComplete. This adds word autocompletion to many editors. It automatically looks for expansions in the program’s open documents. To use it, you need some useful expansions in a text file.
http://developer.anscamobile.com/ has a zipped file containing the HTML documentation. Unzip it into a temp folder. Open a Terminal window in this folder and run the following command:
sed '/Lua: An Introduction/q' api-reference.html | tail -r | sed '/Display Objects/q' | grep -v 'http:' | egrep -o '[a-zA-Z][a-zA-Z]+[.:][a-zA-Z][a-zA-Z]+[0-9]*' | sort | uniq
Save the output of this to a file. With BBAutoComplete installed to the editor of your choice, open this file. Now, you can use word autocompletion with the Corona API!