Package for Sublime Text to aid with MobileCaddy development
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
mcDeleteFull.sublime-snippet
mcDirtyTables.sublime-snippet
mcGetCurrentUser.sublime-snippet
mcInsertRecord.sublime-snippet
mcReadFull.sublime-snippet
mcSmartSql.sublime-snippet
mcSync.sublime-snippet
mcUpdateFull.sublime-snippet
mcUpgradeAvailable.sublime-snippet
mcUpgradeIfAvailable.sublime-snippet

README.md

mobilecaddy-sublime-package

Package for Sublime Text to aid with MobileCaddy development.

Adds snippets to aid with use of the MobileCaddy API.

Install

Installation is available via Package Control as well as a manual install by cloning this repo into your Sublime Text 3's Packages/User directory. On linux this is ~/.config/sublime-text-3/Packages/User.

It is recommended to use Package Control.

Snippets

devUtils.deleteRecord

snippet: mcdelete

devUtils.dirtyTables

snippet: mcdirty

devUtils.getCurrentUser

snippet: mcuser

devUtils.insertRecord

snippet: mcinsert

devUtils.readRecords

snippet: mcread

devUtils.readRecord(tableName).then(function(result){
	// body
}).catch(function(e){
	logger.error(e);
});

devUtils.smartSql

snippet: mcsmartsql

devUtils.syncMobileTable

snippet: mcsync

devUtils.updateRecord

snippet: mcupdate

vsnUtils.upgradeAvailable

snippet: mcupgrade

vsnUtils.upgradeIfAvailable

snippet: mcupgrade