Note:

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

Setting up Sublime2: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
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.''
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.''


For installing new plugins in Sublime2, the best way is to use the Sublime Package Control, see [http://wbond.net/sublime_packages/package_control/installation installation instructions]


== Sublime Settings ===
== Sublime Settings ==


For Moodle Development:
For Moodle Development:
Line 19: Line 18:


== Sublime plugins for PHP and Moodle Development ==
== Sublime plugins for PHP and Moodle Development ==
For installing new plugins in Sublime2, the best way is to use the Sublime Package Control, see [http://wbond.net/sublime_packages/package_control/installation installation instructions]

Revision as of 10:45, 7 June 2013

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