I spent a couple minutes putting all of the Corona functions & Lua reserved words in a list for the auto complete feature in CPM just copy and paste
and
break
do
else
elseif
end
false
for
function
if
in
local
nil
not
or
repeat
return
then
true
until
while
display.newCircle ( )
display.newImage ( )
display.newLine ( )
display.newRect ( )
display.newRoundedRect ( )
display.newText ( )
display.newGroup ( )
object.alpha
object.height
object.isVisible
object.isHitTestable
object.length
object.parent
object.rotation
object.stageBounds
object.stageHeight
object.stageWidth
object.width
object.x
object.xOrigin
object.xReference
object.xScale
object.y
object.yOrigin
object.yReference
object.yScale
object:dispatchEvent ( )
object:getParent ( )
object:rotate ( )
object:scale ( )
object:setReferencePoint ( )
object:translate ( )
object.strokeWidth
object:setFillColor ( )
object:setStrokeColor ( )
object.text
object.size
object:setTextColor ( )
group.numChildren
group:insert ( )
group:remove ( )
stage:setFocus ( )
display.captureScreen ( )
display.save ( )
display.setStatusBar ( )
display.contentWidth
display.contentHeight
display.statusBarHeight
object:addEventListener ( )
object:removeEventListener ( )
event.name
event.xGravity
event.yGravity
event.zGravity
event.xInstant
event.yInstant
event.zInstant
event.isShake
event.sprite
event.phase
event.phase
event.object1
event.object2
event.other
event.force
event.friction
event.name
enterFrame
event.name
event.time
event.name
event.geographic
event.magnetic
event.name
event.latitude
event.longitude
event.altitude
event.accuracy
event.speed
event.direction
event.time
event.errorMessage
event.errorCode
event.name
event.type
event.delta
system
event.name
event.type
timer
event.name
event.source
event.count
event.time
event.x
event.y
event.xStart
event.yStart
event.phase
event.id
event.time
event.name
event.url
event.errorMessage
event.errorCode
transition.to ( )
transition.from ( )
easing.linear ( )
easing.inQuad ( )
easing.outQuad ( )
easing.inOutQuad ( )
easing.inExpo ( )
easing.outExpo ( )
easing.inOutExpo ( )
movieclip.newAnim ( )
object:play ( )
object:play ( )
object:reverse ( )
object:reverse ( )
object:nextFrame ( )
object:previousFrame ( )
object:stop ( )
object:stopAtFrame ( )
object:setLabels ( )
object:setDrag ( )
media.newEventSound ( )
media.playEventSound ( )
media.playSound ( )
media.pauseSound ( )
media.stopSound ( )
media.playVideo ( )
media.show ( )
native.setActivityIndicator ( )
native.showAlert ( )
native.cancelAlert ( )
native.newFont ( )
native.getFontNames ( )
native.setKeyboardFocus ( )
native.newTextField ( )
object.align
object.font
object.isSecure
object.size
object.text
object:setTextColor ( )
native.newTextBox ( )
object.align
object.font
object.hasBackground
object.size
object.text
object:setTextColor ( )
native.showWebPopup ( )
native.cancelWebPopup ( )
object.baseUrl
object.hasBackground
object.urlRequest
physics.addBody ( )
body.isAwake
body.isBodyActive
body.isBullet
body.isSleepingAllowed
body.isFixedRotation
body.angularVelocity
body.linearDamping
body.angularDamping
body.bodyType
body:setLinearVelocity ( )
body:getLinearVelocity ( )
body:applyForce ( )
body:applyTorque ( )
body:applyLinearImpulse ( )
body:applyAngularImpulse ( )
body:resetMassData ( )
physics.newJoint ( )
joint:getAnchorA ( )
joint:getAnchorB ( )
joint:getReactionForce ( )
joint:removeSelf ( )
joint.isMotorEnabled
joint.motorSpeed
joint.motorTorque
joint.maxMotorTorque
joint.isLimitEnabled
joint:setRotationLimits ( )
joint:getRotationLimits ( )
joint.jointAngle
joint.jointSpeed
joint.length
joint.frequency
joint.dampingRatio
joint.isMotorEnabled
joint.motorSpeed
joint.motorForce
joint.maxMotorForce
joint.isLimitEnabled
joint:setLimits ( )
joint:getLimits ( )
joint.jointTranslation
joint.jointSpeed
joint.maxForce
joint.maxTorque
joint.isMotorEnabled
joint.motorSpeed
joint.motorForce
joint.maxMotorForce
joint.isLimitEnabled
joint:setLimits ( )
joint:getLimits ( )
joint.jointTranslation
joint.jointSpeed
joint.length1
joint.length2
joint.ratio
sprite.newSpriteSheet ( )
sprite.newSpriteSet ( )
sprite.add ( )
spriteInstance.newSprite ( )
spriteInstance:prepare ( )
spriteInstance:play ( )
spriteInstance:pause ( )
spriteInstance:addListener ( )
spriteSheet:dispose ( )
spriteInstance.animating
spriteInstance.currentFrame
spriteInstance.sequence
spriteInstance.sequences
openfeint.init ( )
openfeint.launchDashboard ( )
openfeint.unlockAchievement ( )
openfeint.setHighScore ( )
openfeint.uploadBlob ( )
openfeint.downloadBlob ( )
assert( )
error ( )
_G
getfenv ( )
getmetatable ( )
ipairs ( )
next ( )
pairs ( )
pcall ( )
print ( )
rawequal ( )
rawget ( )
rawset ( )
select ( )
setfenv ( )
setmetatable ( )
tonumber ( )
tostring ( )
type ( )
unpack ( )
table.concat ( )
table.insert ( )
table.maxn ( )
table.remove ( )
table.sort ( )
crypto.digest ( )
crypto.hmac ( )
crypto.md4
crypto.md5
crypto.sha1
crypto.sha224
crypto.sha256
crypto.sha384
crypto.sha512
luasqlite
io.close ( )
io.flush ( )
io.input ( )
io.lines ( )
io.open ( )
io.output ( )
io.popen ( )
io.read ( )
io.tmpfile ( )
io.type ( )
io.write ( )
file:close ( )
file:flush ( )
file:lines ( )
file:read ( )
file:seek ( )
file:setvbuf ( )
file:write ( )
math.abs ( )
math.acos ( )
math.asin ( )
math.atan ( )
math.atan2 ( )
math.ceil ( )
math.cos ( )
math.cosh ( )
math.deg ( )
math.exp ( )
math.floor ( )
math.fmod ( )
math.frexp ( )
math.huge
math.ldexp ( )
math.log ( )
math.log10 ( )
math.max ( )
math.min ( )
math.modf ( )
math.pi
math.pow ( )
math.rad ( )
math.random ( )
math.randomseed ( )
math.sin ( )
math.sinh ( )
math.sqrt ( )
math.tan ( )
math.tanh ( )
module ( )
require ( )
package.loaded
package.loaders
package.seeall ( )
luasocket
os.clock ( )
os.date ( )
os.difftime ( )
os.exit ( )
os.remove ( )
os.rename ( )
os.time ( )
string.byte ( )
string.char ( )
string.find ( )
string.format ( )
string.gmatch( )
string.gsub ( )
string.len ( )
string.lower ( )
string.match ( )
string.rep ( )
string.reverse ( )
string.sub ( )
string.upper ( )
system.getPreference ( )
system.getTimer ( )
system.openURL ( )
system.pathForFile ( )
system.setAccelerometerInterval ( )
system.setIdleTimer ( )
system.setLocationAccuracy ( )
system.setLocationThreshold ( )
system.vibrate ( )
Okay, here's what I'm working on -- a new list of autocomplete words that INCLUDE the parameters. That way instead of getting...
local abc = display.newRect()
...you will get...
local abc = display.newRect(top, left, width, height)
The needed parameters are listed and you just "fill in the blanks" with whatever you want.
This means quick trips to the API Reference could be a thing of the past for when you just need a reminder of which parameters are used, in what order, etc.
Here's a quick 2 and half minute video that shows what I'm talking about:
http://instantvideowebpages.com/play/notmplvid.php?573
Hopefully I'll have the list done in a couple days.
Jay
Just watched the video, this will be simply perfect...
I think with this feature, I can finally stop using Textmate :)
ps. I have auto upgraded to 2.1.1 and autocomplete list is NOT filled in. I had few entries in there, could that be the problem?
My auto complete list is ok after upgrading to 2.1.1. I'm on a mac. Are you PC or Mac?
If you're using the Windows version, there was a problem with the first version that has autocomplete -- the DB didn't get filled in like it should have. And it only tries to fill it in the first time, so as not to wipe out new things you've put in, etc.
You can paste in the list above or just wait a few more days until the new list is available.
Jay
I'm on Mac (OSX 10.6.6 to be exact)
It's not a big deal, I've already copied the above list.
Just wanted to let u know...
New list that includes parameters for most of the Corona stuff. When used in the editor you end up with something like this:

...then you just "fill in the blanks" -- makes it easier to remember what all the parameters are.
Just copy the list below, open CPM Prefs > Editor, delete all the current autocomplete words (select all, delete) and then paste in the new list. As of v2.2 of CPM you don't have to restart CPM for the changes to take affect -- earlier versions will need to do that.
Jay
analytics.init ( <#applicationKey#> )
analytics.logEvent ( <#eventID#> )
and
assert( <#v#> <#[, message]#> )
audio.dispose ( <#audioHandle#> )
audio.fade ( [ { [channel=<#c#>] [, time=<#t#>] [, volume=<#v#> ] } ] )
audio.fadeOut ( [ { [channel=<#c#>] [, time=<#t#>] } ] )
audio.findFreeChannel ( <#[ startChannel ]#> )
audio.freeChannels
audio.getDuration ( <#audioHandle#> )
audio.getMaxVolume ( { channel=<#c#> } )
audio.getMinVolume ( { channel=<#c#> } )
audio.getVolume ( [ { channel=<#c#> } ] )
audio.isChannelActive ( <#channel#> )
audio.isChannelPaused ( <#channel#> )
audio.isChannelPlaying ( <#channel#> )
audio.loadSound ( <#audiofileName#> <#[, baseDir ]#> )
audio.loadStream ( <#audiofileName#> <#[, baseDir ]#> )
audio.pause ( <#[channel]#> )
audio.play ( <#audioHandle#> [, { [channel=<#c#>] [, loops=<#l#>] [, duration=<#d#>] [, fadein=<#f#>] [, onComplete=<#o#>] } ] )
audio.reserveChannels ( <#channels#> )
audio.reservedChannels
audio.resume ( <#[channel]#> )
audio.rewind ( [ <#audioHandle#> ] [, { channel=<#c#> } ] )
audio.seek ( <#time#> <#[, audioHandle ]#> [, { channel=<#c#> } ] )
audio.setMaxVolume ( <#volume#>, { channel=<#c#> } )
audio.setMinVolume ( <#volume#>, { channel=<#c#> } )
audio.setVolume ( <#volume#> [,{ channel=<#c#> }] )
audio.stop ( <#[channel]#> )
audio.stopWithDelay ( <#duration#> <#[, { [ channel = c ] } ]#> )
audio.totalChannels
audio.unreservedFreeChannels
audio.unreservedUsedChannels
audio.usedChannels
body.angularDamping
body.angularVelocity
body.bodyType
body.isAwake
body.isBodyActive
body.isBullet
body.isFixedRotation
body.isSleepingAllowed
body.linearDamping
body:applyAngularImpulse ( <#appliedForce#> )
body:applyForce ( <#xForce#>, <#yForce#>, <#bodyX#>, <#bodyY#> )
body:applyLinearImpulse ( <#xForce#>, <#yForce#>, <#bodyX#>, <#bodyY#> )
body:applyTorque ( <#appliedForce#> )
body:getLinearVelocity ( )
body:resetMassData ( )
body:setLinearVelocity ( <#xVelocity#>, <#yVelocity#> )
break
crypto.digest ( <#algorithm#>, <#string#> <#[, raw]#> )
crypto.hmac ( <#algorithm#>, <#string#>, <#key#> <#[, raw]#> )
crypto.md4
crypto.md5
crypto.sha1
crypto.sha224
crypto.sha256
crypto.sha384
crypto.sha512
display.captureScreen ( <#saveToAlbumBool#> )
display.contentCenterX
display.contentCenterY
display.contentHeight
display.contentScaleX
display.contentScaleY
display.contentWidth
display.getCurrentStage ( )
display.loadRemoteImage ( <#url#>, <#method#>, <#listener#> <#[, params]#>, <#destFilename#> <#[, baseDir]#> <#[, x, y]#> )
display.newCircle( <#xCenter#>, <#yCenter#>, <#radius#> )
display.newGroup ( )
display.newImage(<#filename#> <#[,baseDirectory]#> <#[,left,top]#>)
display.newImage(<#[parentGroup,]#> <#filename#> <#[,baseDirectory]#> <#[,left,top]#> <#[,isFullResolution]#>)
display.newImageRect ( <#[parentGroup,]#> <#filename#> <#[, baseDirectory]#> <#width#>, <#height#> )
display.newLine( <#[parent,]#> <#x1#>, <#y1#>, <#x2#>, <#y2#> )
display.newRect( <#[parentGroup,]#> <#left#>, <#top#>, <#width#>, <#height#> )
display.newRoundedRect( <#[parentGroup,]#> <#left#>, <#top#>, <#width#>, <#height#>, <#cornerRadius#> )
display.newText( <#[parentGroup,]#> <#string#>, <#left#>, <#top#>, <#font#>, <#size#> )
display.save ( <#displayObject#>, <#filename#> <#[, baseDirectory]#> )
display.screenOriginX
display.screenOriginY
display.setDefault( <#key#>, <#r#>, <#g#>, <#b#> <#[,alpha]#> )
display.setStatusBar ( <#mode#> )
display.statusBarHeight
display.viewableContentHeight
display.viewableContentWidth
do
easing.inExpo ( <#time#>, <#tMax#>, <#start#>, <#delta#> )
easing.inOutExpo ( <#time#>, <#tMax#>, <#start#>, <#delta#> )
easing.inOutQuad ( <#time#>, <#tMax#>, <#start#>, <#delta#> )
easing.inQuad ( <#time#>, <#tMax#>, <#start#>, <#delta#> )
easing.linear ( <#time#>, <#tMax#>, <#start#>, <#delta#> )
easing.outExpo ( <#time#>, <#tMax#>, <#start#>, <#delta#> )
easing.outQuad ( <#time#>, <#tMax#>, <#start#>, <#delta#> )
else
elseif
end
error ( <#message#> <#[, level]#> )
event.accuracy
event.altitude
event.city
event.cityDetail
event.count
event.country
event.countryCode
event.delta
event.direction
event.errorCode
event.errorMessage
event.force
event.friction
event.geographic
event.id
event.invalidProducts
event.isError
event.isShake
event.latitude
event.longitude
event.magnetic
event.name
event.object1
event.object2
event.other
event.phase
event.postalCode
event.products
event.region
event.regionDetail
event.source
event.speed
event.sprite
event.street
event.streetDetail
event.time
event.transaction
event.type
event.url
event.x
event.xGravity
event.xInstant
event.xStart
event.y
event.yGravity
event.yInstant
event.yStart
event.zGravity
event.zInstant
facebook.login ( <#appId#>, <#listener#> <#[, permissions ]#> )
facebook.logout ( )
facebook.request ( <#path#> <#[, httpMethod, params]#> )
facebook.showDialog ( <#params#> )
false
file:close ( )
file:flush ( )
file:lines ( )
file:read ( <#[fmt1]#> <#[, fmt2]#> <#[, ...]#> )
file:seek ( <#[mode]#> <#[, offset]#> )
file:setvbuf ( <#mode#> <#[, size]#> )
file:write ( <#arg1#> <#[, arg2]#> <#[, ...]#> )
for
function
getfenv ( <#[f]#> )
getmetatable ( <#object#> )
group.numChildren
group:insert( <#[index,]#> <#child#>, <#[, resetTransform]#> )
group:remove ( <#indexOrChild#> )
if
in
io.close ( <#[file]#> )
io.flush ( )
io.input ( <#[file]#> )
io.lines ( <#[file]#> )
io.open ( <#filename_path#> <#[, mode]#> )
io.output ( <#[file]#> )
io.popen ( )
io.read ( <#[fmt1]#> <#[, fmt2]#> <#[, ...]#> )
io.tmpfile ( )
io.type ( <#obj#> )
io.write ( <#arg1#> <#[, arg2]#> <#[, ...]#> )
ipairs ( <#t#> )
joint.dampingRatio
joint.frequency
joint.isLimitEnabled
joint.isMotorEnabled
joint.jointAngle
joint.jointSpeed
joint.jointTranslation
joint.length
joint.length1
joint.length2
joint.maxForce
joint.maxMotorForce
joint.maxMotorTorque
joint.maxTorque
joint.motorForce
joint.motorSpeed
joint.motorTorque
joint.ratio
joint:getAnchorA ( )
joint:getAnchorB ( )
joint:getLimits ( )
joint:getReactionForce ( )
joint:getRotationLimits ( )
joint:removeSelf ( )
joint:setLimits ( <#upper#>, <#lower#> )
joint:setRotationLimits ( <#lowerLimit#>, <#upperLimit#> )
local
math.abs ( <#x#> )
math.acos ( <#x#> )
math.asin ( <#x#> )
math.atan ( <#x#> )
math.atan2 ( <#y#>, <#x#> )
math.ceil ( <#x#> )
math.cos ( <#x#> )
math.cosh ( <#x#> )
math.deg ( <#x#> )
math.exp ( <#x#> )
math.floor ( <#x#> )
math.fmod ( <#x#>, <#y#> )
math.frexp ( <#x#> )
math.huge
math.ldexp ( <#m#> ,<#e#> )
math.log ( <#x#> )
math.log10 ( <#x#> )
math.max ( <#x#>, <#...#> )
math.min ( <#x#>, <#...#> )
math.modf ( <#x#> )
math.pi
math.pow ( <#x#>, <#y#> )
math.rad ( <#x#> )
math.random ( <#[m [, n]]#> )
math.randomseed ( <#x#> )
math.sin ( <#x#> )
math.sinh ( <#x#> )
math.sqrt ( <#x#> )
math.tan ( <#x#> )
math.tanh ( <#x#> )
media.getSoundVolume ( )
media.newEventSound ( <#filename#> <#[, baseDir]#> )
media.newRecording( <#[path]#> )
media.pauseSound ( )
media.playEventSound ( <#sound#> <#[, baseDir]#> <#[, completionListener]#> )
media.playSound( <#soundfile#> <#[, baseDir]#> <#[, loop]#> )
media.playSound( <#soundfile#> <#[, baseDir]#> <#[, onComplete]#> )
media.playVideo( <#path#> <#[, baseSource ]#>, <#showControls#>, <#listener#> )
media.setSoundVolume( <#vol#> )
media.show ( <#imageSource#>, <#listener#> )
media.stopSound ( )
module ( <#name#> <#[, ···]#> )
movieclip.newAnim ( <#frames#> )
myMap.isLocationVisible = <#Bool#>
myMap.isScrollEnabled = <#Bool#>
myMap.isZoomEnabled = <#Bool#>
myMap.mapType = <#mapType#>
myMap:addMarker ( <#latitude#>, <#longitude#>, [{ title="<#Displayed Title#>", subtitle="<#subtitle text#>" } ] )
myMap:getAddressLocation ( <#location#> )
myMap:getUserLocation ( )
myMap:removeAllMarkers ( )
myMap:setCenter ( <#latitude#>, <#longitude#>, <#isAnimated#> )
myMap:setRegion ( <#latitude#>, <#longitude#>, <#latitudeSpan#>, <#longitudeSpan#>, <#isAnimated#> )
native.cancelAlert ( <#alert#> )
native.cancelWebPopup ( )
native.getFontNames ( )
native.newFont ( <#name#> <#[, size]#> )
native.newTextBox ( <#left#>, <#top#>, <#width#>, <#height#> )
native.newTextField ( <#left#>, <#top#>, <#width#>, <#height#> <#[, listener]#> )
native.setActivityIndicator ( <#stateBool#> )
native.setKeyboardFocus ( <#textField#> )
native.showAlert ( <#title#>, <#message#> <#[, buttonLabels [, listener]]#> )
native.showWebPopup( <#url#> <#[, options]#> )
native.showWebPopup( <#x#>, <#y#>, <#width#>, <#height#>, <#url#> <#[, options]#> )
network.download ( <#url#>, <#method#>, <#listener#> <#[, params]#>, <#destFilename#> <#[, baseDir]#> )
network.request ( <#url#>, <#method#>, <#listener#> <#[, params]#> )
next ( <#table#> <#[, index]#> )
nil
not
align
alpha
baseUrl
font
hasBackground
height
isHitTestable
isSecure
isVisible
length
parent
play ( )
rotation
size
stageBounds
stageHeight
stageWidth
strokeWidth
text
urlRequest
width
x
xOrigin
xReference
xScale
y
yOrigin
yReference
yScale
addEventListener ( <#eventName#>, <#listener#> )
dispatchEvent( <#event#> )
getSampleRate ( )
getTunerFrequency ( )
getTunerVolume ( )
isRecording ( )
nextFrame ( )
play ( )
play { startFrame=<#startFrame#>, endFrame=<#endFrame#>, loop=<#loop#>, remove=<#removeBool#> }
previousFrame ( )
removeEventListener ( <#eventName#>, <#listener#> )
reverse ( )
reverse { startFrame=<#startFrame#>, endFrame=<#endFrame#>, loop=<#loop#>, remove=<#removeBool#> }
rotate( <#deltaAngle#> )
scale ( <#sx#>, <#sy#> )
setDrag ( drag=<#true/false#> )
setFillColor ( <#red#>, <#green#>, <#blue#> <#[, alpha]#> )
setLabels { frameLabel1=<#num1#>, frameLabel2=<#num2#>, frameLabelN=<#numN#> }
setReferencePoint ( <#referencePoint#> )
setSampleRate( <#r#> )
setStrokeColor ( <#red#>, <#green#>, <#blue#> <#[, alpha]#> )
setTextColor ( <#red#>, <#green#>, <#blue#> <#[, alpha]#> )
startRecording ( )
startTuner ( )
stop ( )
stopAtFrame ( <#frame#> )
stopRecording ( )
stopTuner ( )
translate ( <#deltaX#>, <#deltaY#> )
openfeint.downloadBlob ( <#blobKey#>, <#listenerFunction#> )
openfeint.init ( <#productKey#>, <#productSecret#>, <#displayName#>, <#appId#> )
openfeint.launchDashboard ( <#dashBoardView#> )
openfeint.launchDashboard ( <#dashBoardView#>, <#options#> )
openfeint.setHighScore ( { leaderboardID=<#ID#>, score=<#highScore#> <#[, displayText=displayString]#> } )
openfeint.unlockAchievement ( <#achievementID#> )
openfeint.uploadBlob ( <#blobKey#>, <#blobData#> )
or
os.clock ( )
os.date ( <#[format [, time] ]#> )
os.difftime ( <#t1#>, <#t2#> )
os.execute( <#cmd#> )
os.exit ( <#[exit]#> )
os.remove ( <#file#> )
os.rename ( <#oldname#>, <#newname#> )
os.time ( <#[table]#> )
package.loaded
package.loaders
package.seeall ( <#module#> )
pairs ( <#t#> )
pcall ( <#f#>, <#arg1#>, <#...#> )
physics.addBody ( <#object#>, <#[bodyType,]#> {density=<#density#>, friction=<#friction#>, bounce=<#bounce#> [,radius=<#radius#>]} )
physics.addBody ( <#object#>, <#[bodyType,]#> {density=<#density#>, friction=<#friction#>, bounce=<#bounce#> [,shape=<#shape#>]} )
physics.newJoint ( <#jointType#>, <#object1#>, <#object2#>, <#anchorX#>, <#anchorY#> )
print ( <#message(s)#> )
rawequal ( <#v1#>, <#v2#> )
rawget ( <#table#>, <#index#> )
rawset ( <#table#>, <#index#>, <#value#> )
repeat
require ( <#moduleName#> )
return
select ( <#index#>, <#...#> )
setfenv ( <#f#>, <#table#> )
setmetatable ( <#table#>, <#metatable#> )
sprite.add ( <#spriteSet#>, <#sequenceName#>, <#startFrame#>, <#frameCount#>, <#time#>, <#[loopParam]#> )
sprite.newSpriteSet ( <#spriteSheet#>, <#startFrame#>, <#frameCount#> )
sprite.newSpriteSheet ( <#spriteSheetFile#>, <#[baseDir,]#> <#frameWidth#>, <#frameHeight#> )
sprite.newSpriteSheetFromData( <#spriteSheetImageFile#>, <#[baseDir,]#> <#coordinateData#> )
spriteInstance.animating
spriteInstance.currentFrame
spriteInstance.newSprite ( <#spriteSet#> )
spriteInstance.sequence
spriteInstance.sequences
spriteInstance:addListener ( <#listenerFunction#> )
spriteInstance:pause ( )
spriteInstance:play ( )
spriteInstance:prepare ( <#[sequence]#> )
spriteSheet:dispose ( )
stage:setFocus ( <#displayObject#> )
store.canMakePurchases
store.finishTransaction ( <#transaction#> )
store.init ( <#listener#> )
store.loadProducts ( <#arrayOfProductIdentifiers#>, <#listener#> )
store.purchase ( <#arrayOfProducts#> )
store.restore()
string.byte ( <#s#> <#[, i [, j]]#> )
string.char ( <#[arg1]#> <#[, ...]#> )
string.find ( <#s#>, <#pattern#> <#[, init [, plain]]#> )
string.format ( <#formatstring#> <#[, ...]#> )
string.gmatch( <#s#>, <#pattern#> )
string.gsub ( <#s#>, <#pattern#>, <#repl#> <#[, n]#> )
string.len ( <#s#> )
string.lower ( <#s#> )
string.match ( <#s#>, <#pattern#> <#[, init]#> )
string.rep ( <#s#>, <#n#> )
string.reverse ( <#s#> )
string.sub ( <#s#>, <#i#> <#[, j]#> )
string.upper ( <#s#> )
system.getInfo( <#parm#> )
system.getPreference ( <#category#>, <#name#> )
system.getTimer ( )
system.openURL ( <#url#> )
system.pathForFile ( )
system.setAccelerometerInterval ( <#frequency#> )
system.setIdleTimer ( <#enabled#> )
system.setLocationAccuracy ( <#distance#> )
system.setLocationThreshold ( <#distance#> )
system.vibrate ( )
table.concat ( <#table#> <#[, sep [, i [, j]]]#> )
table.insert ( <#table#>, <#[pos,]#> <#value#> )
table.maxn ( <#t#> )
table.remove ( <#t#> <#[, pos]#> )
table.sort ( <#t#> <#[, comp]#> )
then
timer.cancel ( <#timerId#> )
timer.performWithDelay ( <#delay#>, <#listener#> <#[, iterations]#> )
tonumber ( <#e#> <#[, base]#> )
tostring ( <#e#> )
transition.cancel ( <#tween#> )
transition.dissolve( <#src#>, <#dst#>, <#duration#>, <#delayDuration#> )
transition.from ( <#target#>, <#params#> )
transition.to ( <#target#>, <#params#> )
true
type ( <#v#> )
unpack ( <#list#> <#[, i [, j]]#> )
until
while
_G
This is great!!! Thanks for making this happen.
Simply confirming that auto-complete on Windows Version 2.2.1 (5) is empty after installation under preferences. Thanks!
Currently when auto-complete adds a structure, it moves the cursor to the end of the line. At this point I am forced to bring it back or use the mouse (not a fan of the mouse for coding).
Next, I was expecting I could tab through the parameters which I could not do. My flow should be something like this,
1 | display.newImageRe |
1 | display.newImageRect ( <#[parentGroup,]#> <#filename#> <#[, baseDirectory]#> <#width#>, <#height#> ) |
1 | display.newImageRect ( <#filename#> <#[, baseDirectory]#> <#width#>, <#height#> ) |
1 | display.newImageRect ( "background.png", 100, 100 ) |
This seems the natural way to do things but I'm open to other suggestions if I'm missing the obvious. Thanks!
Yes please.
I hate having to stop typing to grab the mouse, pops me right out of my code bubble.
Highlighting the first placeholder after inserting the parameters should be doable in the next version.
Hitting Tab does make sense to hop from one to the other -- right now Command-/ (or Control-/ on Windows) will jump to the next placeholder and highlight it. I'd like to remap that to Tab myself, so I'll see what I can do.
If I sound a little wishy-washy on that, it's only because I didn't write the core of the code editor, so changing things isn't as easy as in the rest of the program. :)
Thanks.
Jay
Good luck with the re-map!
I hope things go well, although command-/ isn't the end of the world.
Don't know if this is going to be easy enough for you to debug, but I have noticed when going through the presets, and deleting ones I don't need, or just filling them out, sometimes, commas are deleted, or not kept. I don't have any specifics at the moment, but when I notice it happening, I will make note for you.
Good news and bad news...
Good news is that now when you do autocomplete and there are placeholders, the first placeholder in the line is highlighted. Plus, Tab now flips you to the next placeholder on the line.
The bad news is that you can't have that version, yet. :)
I don't have a release date set for the next version yet, but now you can at least look forward to that feature working the way we all want.
Jay
Hey, Jay!
I'm adding autocomplete for Corona to Coda, so I wondered if it's okay if I borrow your list? It seems to be the most complete list, and you've already got the parameters defined.
Yep, go for it!
Jay
@Nerderer how can i contact You? Please write me an email to piotr [at] blerdo.com
I was wondering which editor(s) work with auto-complete and how do you activate the interface? I am currently using Textmate. Thanks!
Nice!
The autocomplete list is supposed to be filled in automatically but I've heard from some people that it failed for them, so this list should come in handy for them.
Thank you!
Jay