Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Setting up Sublime2

From MoodleDocs
Revision as of 10:45, 7 June 2013 by Juan Leyva (talk | contribs)

According Wikipedia Sublime Text is a cross-platform text and source code editor, with a Python API. The chrome was inspired by Vim. Its functionality is also extendable with sublime-packages; Sublime Text is not open source software nor free software, but some of the extending packages have free-software licenses and are community-built and maintained.


Sublime Settings

For Moodle Development:

Preferences -> Settings (default or user)

Tab size and spaces:

   "tab_size": 4,
   // Set to true to insert spaces when tab is pressed
   "translate_tabs_to_spaces": true,


Sublime plugins for PHP and Moodle Development

For installing new plugins in Sublime2, the best way is to use the Sublime Package Control, see installation instructions