Sublime Text3 as IDE for PHP development

Source: Internet
Author: User

Phpstorm development sometimes takes up too much memory and will happen to the Dayton. Although still prefer to use this IDE haha.

A very powerful editor Sublime Text3, as an occasional replacement is also very strong. This memory footprint will be much smaller.

Official website Download Sublime3, because usually accustomed to eclipse,phpstorm shortcut keys. I changed a little bit to change the sublime several shortcut keys.

In key bindings, edit directly:

  

[    { "Keys": ["Ctrl+enter"], "command": "Run_macro_file", "args": {"file": "Res://packages/default/add Line.sublime-macro"} },    { "Keys": ["Ctrl+shift+enter"], "command": "Run_macro_file", "args": {"file": "Res://packages/default/add Line Before.sublime-macro "} },    { "Keys": ["Ctrl+alt+down"], "command": "Duplicate_line" },    { "Keys": ["Alt+up"], "command": "Swap_line_up" },    { "Keys": ["Alt+down"], "command": "Swap_line_down" },    { "Keys": ["Ctrl+d"], "command": "Run_macro_file", "args": {"file": "Res://packages/default/delete Line.sublime-macro"} },    { "Keys": ["Ctrl + A"], "command": "Select_all" },    { "Keys": ["ctrl+f"], "command": "Show_panel", "args": {"Panel": "Find", "reverse":false} },    { "Keys": ["ctrl+x"], "command": "Cut" },    { "Keys": ["CTRL + C"], "command": "Copy" },    { "Keys": ["Ctrl + V"], "command": "Paste" },    { "Keys": ["Ctrl+s"], "command": "Save" },    { "Keys": ["Ctrl + Z"], "command": "Undo" },    { "Keys": ["Ctrl+y"], "command": "Redo_or_repeat" },    { "Keys": ["ctrl+f"], "command": "Show_panel", "args": {"Panel": "Replace", "reverse":false} },    { "Keys": ["ctrl+shift+x"], "command": "Upper_case" },    { "Keys": ["Ctrl+shift+y"], "command": "Lower_case" },]

  

The powerful side of sublime is the ability to support extensions and to install a variety of plugins.

Install the package control first. Manual installation method See: Https://packagecontrol.io/installation

You have installed a ctags plug-in, you can find the calling method.

When developing, open a project's directory tree in Sublime. Develop it ...

Example of a truncated diagram:

  

  

  

Sublime Text3 as IDE for PHP development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.