Melhores Plugins Sublime

Melhores Pluguins Sublime

 

CTRL + SHIFT + P

Escolha a opção: Install Package

O sublime irá listar vários pacotes interessantes como os citados abaixo.

 

PHP.

  • BracketHighlighter
  • Composer
  • DocBlockr
  • Emmet
  • Gist
  • Git
  • GitGutter
  • PHP Codebeautifier
  • PHP Companion
  • PHP Constructors
  • Xdebug Client
  • SublimeCodeIntel
  • CSS-CodeIntel
  • PHP-CodeIntel
  • HTML-CodeIntel
  • JSON-CodeIntel
  • JavaScript-CodeIntel

 

 

Reference: https://medium.com/@juniorb2s/melhores-plugins-sublime-para-php-4b011aa02cdf

Reference SublimeCodeIntel: https://github.com/SublimeCodeIntel/SublimeCodeIntel#using

 

Arquivo Completo

Package Control.sublime-settings User:

{
“bootstrapped”: true,
“in_process_packages”:
[
],
“installed_packages”:
[
“BracketHighlighter”,
“CodeIgniter 2 ModelController”,
“CodeIgniter Snippets”,
“Composer”,
“DocBlockr”,
“Emmet”,
“Gist”,
“Git”,
“GitGutter”,
“Package Control”,
“PHP Codebeautifier”,
“PHP Companion”,
“PHP Constructors”,
“SublimeCodeIntel”,
“CSS-CodeIntel”,
“PHP-CodeIntel”,
“HTML-CodeIntel”,
“JSON-CodeIntel”,
“JavaScript-CodeIntel”,
“Xdebug Client”
]
}

 

 

INSTALAÇÃO

bulb SublimeCodeIntel LSP

This is the experimental fork with Language Server Protocol support of SublimeCodeIntel. The following languages are available:

  • CSS-CodeIntel -> CSS/SCSS/Sass/Less
  • Cpp-CodeIntel -> C/C++/Objective-C/Objective-C++
  • HTML-CodeIntel -> HTML
  • JSON-CodeIntel -> JSON/JSONC
  • JavaScript-CodeIntel -> JavaScript/TypeScript/Node.js
  • Markdown-CodeIntel -> Markdown
  • OCaml-CodeIntel -> OCaml
  • PHP-CodeIntel -> PHP
  • Python-CodeIntel -> Python2/Python3
  • Rust-CodeIntel -> Rust
  • YAML-CodeIntel -> YAML

Installation

For the moment, SublimeCodeIntel LSP isn’t available in Package Control yet, to install you need to directly add repositories as well as adding the installed packages.

From command palette add SublimeCodeIntel and the relevant repositories:

Ex.: Package Control: Add Repository -> https://github.com/Kronuz/SublimeCodeIntel Package Control: Install Package -> SublimeCodeIntel

Package Control: Add Repository -> https://github.com/Kronuz/Python-CodeIntel Package Control: Install Package -> Python-CodeIntel

Or directly modify your Packages/User/Package Control.sublime-settings:

{
	"installed_packages": [
		"SublimeCodeIntel",
		"CSS-CodeIntel",
		"Cpp-CodeIntel",
		"HTML-CodeIntel",
		"JSON-CodeIntel",
		"JavaScript-CodeIntel",
		"Markdown-CodeIntel",
		"OCaml-CodeIntel",
		"PHP-CodeIntel",
		"Python-CodeIntel",
		"Rust-CodeIntel",
		"YAML-CodeIntel"
	],
	"repositories": [
		"https://github.com/Kronuz/SublimeCodeIntel",
		"https://github.com/Kronuz/CSS-CodeIntel",
		"https://github.com/Kronuz/Cpp-CodeIntel",
		"https://github.com/Kronuz/HTML-CodeIntel",
		"https://github.com/Kronuz/JSON-CodeIntel",
		"https://github.com/Kronuz/JavaScript-CodeIntel",
		"https://github.com/Kronuz/Markdown-CodeIntel",
		"https://github.com/Kronuz/OCaml-CodeIntel",
		"https://github.com/Kronuz/PHP-CodeIntel",
		"https://github.com/Kronuz/Python-CodeIntel",
		"https://github.com/Kronuz/Rust-CodeIntel",
		"https://github.com/Kronuz/YAML-CodeIntel"
	]
}


Using

  • Start typing code as usual, autocomplete will pop up whenever it’s available. SublimeCodeIntel will also allow you to jump around symbol definitions even across files with just a click ..and back.

    For Mac OS X:

    • Jump to definition = Control+Click
    • Jump to definition = Control+Command+Alt+Up
    • Go back = Control+Command+Alt+Left
    • Manual Code Intelligence = Control+Shift+space

    For Linux:

    • Jump to definition = Super+Click
    • Jump to definition = Control+Super+Alt+Up
    • Go back = Control+Super+Alt+Left
    • Manual Code Intelligence = Control+Shift+space

    For Windows:

    • Jump to definition = Alt+Click
    • Jump to definition = Control+Windows+Alt+Up
    • Go back = Control+Windows+Alt+Left
    • Manual Code Intelligence = Control+Shift+space

Don’t despair! The first time you use it it needs to build some indexes and it can take more than a few seconds.

It just works!