Return to site

Sublime Text 2 Plugins For Web Development

broken image


For the last 6 months I have been using Go as my primary development language and for a large part of that I have been using sublime text 3. Along the way the go developers have released quite a few handy and time saving tools which have all been supported by GoSublime with some assembly required. This post will provide a rundown on how to setup go-sublime and the array of tools which make. Unlike other Sublime Text plugins, where you download a file, run it, and voila, in order to install WebDevelopment you have to subscribe to their version control system. This is a lot easier than it sounds. First up you need to get TortoiseHg. Download it, install it. Package Control Of all the plugins on this list, Package Control is the most essential. Package Control is the first and mandatory thing we should have after Installing Sublime Text. Using Package Control you can Install, Update or view all the package/plugins available for Sublime Text. The simplest method of installation of Package Control is through the Sublime Text console. Go to package installation & copy the long command there.

Sublime Text is one of the best text and code editor available at the moment. It has lots of plugins and most of them are useful for any types of developers. The following are the 10 Best Sublime Text Plugins that many web developers can use (all can be searched and downloaded from https://packagecontrol.io/):

DocBlockr

If you are one of the web developers that are following every guideline of coding rigidly, this is one of the 10 Sublime Text plugins that you can use to do your work faster and easier. This DocBlockr can help you to create good comments about your codes, through parsing variables, functions and directly add the essential items. You will need to start your text from '/**,' and the DocBlockr will do the rest.

Git

I know web developers are getting exhausted on keeping theirfiles and shifting to the Terminal to have some Git Commands. And it would helpyou a lot if you will have some Git Commands in your Editor, right? To havethis, you will in need to install the Git Plugin first and have an easier andfaster work.

Sublime plugin install

AllAutocomplete

This AllAutocomplete will only count all the words that are present in the file you are doing. This sublime text plugin will also help you to look at some open data to discover some matches while recommending some words.

Color Picker

This Color Picker will help you to avail some color picker within the sublime text. When you already installed this Color Piker, you can now press Ctrl/Cmd + Shift + c to start.

Terminal

This type of plugin can be used on opening a terminal within your working file. Just press Ctrl/Cmd + Shift + t to open the terminal faster and easier. Catalina os number. This is also the shortcut on opening the last file you closed.

Emmet

This plugin is time-saving on writing more extended structures into a shorter one that can help you to create more works. This sublime text plugin is available in Eclipse and Notepad++.

Sublime REPL

This Sublime REPL text plugin can be considered as a handytool for all the web developers. This will help you with interpreting aparticular word into another language.

Package Control

Package Control will help you to install another text plugins without leaving the current Sublime Text. To make sure that another plugin was installed, you can press Ctrl/Cmd + Shift + p and try to type the word 'Package Control.'

GitGutter

Sublime Text 3 Plugin Manager

Even though you can conduct some Git Commands within yourcurrent Sublime Text, why to check some differences between your existing filefrom your last file closed by performing a separate Git Command when you canview both of these at the same time? With the use of this Sublime Text Plugin-GitGutter, you can now see which texts are deleted, modified or added in the gutter.

MarkdownPreview

This MarkdownPreview is another Sublime Text Plugin will help you to view some Markdown Files. With the help of MarkdownEditing, you can now have your codes the right highlighting colors.

Jump to: navigation, search

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.


  • 2Sublime plugins for PHP and Moodle Development

Sublime Settings

For Moodle Development:

Preferences -> Settings (default or user)

Tab size and spaces:

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

SublimeMoodle

By Frédéric Massart

  • Auto completion for functions, classes and constants.
  • Helper to write testing instructions (Command palette > Moodle: Write testing instructions)
  • Open a tracker issue based on user input (Command palette > Moodle: Open a tracker issue)
  • Open a tracker issue based on text selection or current branch (Command palette > Moodle: Resolve and open tracker issue)

You need to install it manually or add a new Package Control repository


Trailing Spaces

A Sublime Text 2 and 3 plugin that allows you to highlight trailing spaces and delete them in a flash!

Sublime PHP CS

PHP CodeSniffer, PHP Coding Standard Fixer, Linter, Mess Detector and Facebook Scheck Support for Sublime Text

I recommend to enable only the Linter and the PHP Coding Standard Fixer. Mess Detector and Scheck may help a lot but they not fit well with some Moodle coding rules.

The PHP Coding Standard Fixer check the code using the PEAR standard, for installing the Moodle standard you can

Install using pear installer

1 Install the Pear package for PHP CS, pear install PHP_CodeSniffer-2.9.1 (version 3 seems to not be still compatible with the moodle-local_codechecker plugin).

Plugins

AllAutocomplete

This AllAutocomplete will only count all the words that are present in the file you are doing. This sublime text plugin will also help you to look at some open data to discover some matches while recommending some words.

Color Picker

This Color Picker will help you to avail some color picker within the sublime text. When you already installed this Color Piker, you can now press Ctrl/Cmd + Shift + c to start.

Terminal

This type of plugin can be used on opening a terminal within your working file. Just press Ctrl/Cmd + Shift + t to open the terminal faster and easier. Catalina os number. This is also the shortcut on opening the last file you closed.

Emmet

This plugin is time-saving on writing more extended structures into a shorter one that can help you to create more works. This sublime text plugin is available in Eclipse and Notepad++.

Sublime REPL

This Sublime REPL text plugin can be considered as a handytool for all the web developers. This will help you with interpreting aparticular word into another language.

Package Control

Package Control will help you to install another text plugins without leaving the current Sublime Text. To make sure that another plugin was installed, you can press Ctrl/Cmd + Shift + p and try to type the word 'Package Control.'

GitGutter

Sublime Text 3 Plugin Manager

Even though you can conduct some Git Commands within yourcurrent Sublime Text, why to check some differences between your existing filefrom your last file closed by performing a separate Git Command when you canview both of these at the same time? With the use of this Sublime Text Plugin-GitGutter, you can now see which texts are deleted, modified or added in the gutter.

MarkdownPreview

This MarkdownPreview is another Sublime Text Plugin will help you to view some Markdown Files. With the help of MarkdownEditing, you can now have your codes the right highlighting colors.

Jump to: navigation, search

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.


  • 2Sublime plugins for PHP and Moodle Development

Sublime Settings

For Moodle Development:

Preferences -> Settings (default or user)

Tab size and spaces:

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

SublimeMoodle

By Frédéric Massart

  • Auto completion for functions, classes and constants.
  • Helper to write testing instructions (Command palette > Moodle: Write testing instructions)
  • Open a tracker issue based on user input (Command palette > Moodle: Open a tracker issue)
  • Open a tracker issue based on text selection or current branch (Command palette > Moodle: Resolve and open tracker issue)

You need to install it manually or add a new Package Control repository


Trailing Spaces

A Sublime Text 2 and 3 plugin that allows you to highlight trailing spaces and delete them in a flash!

Sublime PHP CS

PHP CodeSniffer, PHP Coding Standard Fixer, Linter, Mess Detector and Facebook Scheck Support for Sublime Text

I recommend to enable only the Linter and the PHP Coding Standard Fixer. Mess Detector and Scheck may help a lot but they not fit well with some Moodle coding rules.

The PHP Coding Standard Fixer check the code using the PEAR standard, for installing the Moodle standard you can

Install using pear installer

1 Install the Pear package for PHP CS, pear install PHP_CodeSniffer-2.9.1 (version 3 seems to not be still compatible with the moodle-local_codechecker plugin).

2 Download the standard: phpcompatibility and moodle directories from https://github.com/moodlehq/moodle-local_codechecker

Sublime Text Plugin Development

3 Copy the previous directories to the PHP CS standard path,

  • in Mac with Macports is /opt/local/lib/php/PHP/CodeSniffer/Standards/
  • In Mac with Homebrew is /usr/local/share/pear@7.0/PHP/CodeSniffer/Standards/
  • in Linux is /usr/share/php/PHP/CodeSniffer/Standards/

4 Edit the settings for the PHP CodeSniffer package, change this:


You can delete the -n option if you want to see also Warnings

You can put the previous directories in a different directory and change the --standard value to point to that directory

Manually install (to avoid dependencies issues)

1 Download the phpcs.phar bundle from the author web page: https://github.com/squizlabs/PHP_CodeSniffer/releases/download/2.9.1/phpcs.phar (remember to chmod +x the phpcs.phar file)

2 Clone the https://github.com/moodlehq/moodle-local_codechecker repo into a local directory

3 Edit the settings for the PHP CodeSniffer package, change this:

DockBlockr

Simplifies writing DocBlock comments in Javascript, PHP, CoffeeScript, Actionscript, C & C++

Just type /** and tab .. It will preload the fool dock skel (tab between vars for quick editing)

Sidebar Enhancements

Enhancements to Sublime Text sidebar. Files and folders.

Bracket Highlighter

Bracket and tag highlighter for Sublime Text 2

Sublime Plugin Install

Sublime CodeIntel

Full-featured code intelligence and smart autocomplete engine

Sublime Php Plugin

Avoid to index XML files (it will crash with Moodle), Shift + Click for jumping to function definitions

Sublime Text Plugin

I recomend you to index only the Moodle lib/ folder (include the folder in your project in order to allo CodeIntel to index it) Os 5 0 download.

Retrieved from 'https://docs.moodle.org/dev/index.php?title=Setting_up_Sublime2&oldid=56737'




broken image