All Projects → gerardroche → Sublime Phpck

gerardroche / Sublime Phpck

Licence: bsd-3-clause
PHP completions for Sublime Text.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sublime Phpck

sublime-wai-aria
WAI-ARIA Roles, States and Properties auto-completion for Sublime Text
Stars: ✭ 21 (-63.79%)
Mutual labels:  sublime-text, auto-complete
sublime-php-grammar
An smart macro PHP plugin for Sublime Text.
Stars: ✭ 30 (-48.28%)
Mutual labels:  sublime-text, auto-complete
Sublimecodeintel
💡 Full-featured code intelligence and smart autocomplete for Sublime Text
Stars: ✭ 5,050 (+8606.9%)
Mutual labels:  sublime-text, auto-complete
Dugong
Minimal State Store Manager for React Apps using RxJS
Stars: ✭ 10 (-82.76%)
Mutual labels:  sublime-text
Zenscript Highlighter
Sublime Text highlighting for ZenScript used in MineTweaker, CraftTweaker and ModTweaker
Stars: ✭ 15 (-74.14%)
Mutual labels:  sublime-text
Sublime Ava
Snippets for AVA
Stars: ✭ 41 (-29.31%)
Mutual labels:  sublime-text
Ngautocomplete
Light-weight autocomplete component for Angular.
Stars: ✭ 52 (-10.34%)
Mutual labels:  auto-complete
Pawn Sublime Language
Pawn language settings for Sublime Text 3. Copied from C++ but with Pawn language and SA:MP specific modifications.
Stars: ✭ 26 (-55.17%)
Mutual labels:  sublime-text
Sublime Text 2 User Settings
💾 2011–2013 — My user settings for Sublime Text 2
Stars: ✭ 45 (-22.41%)
Mutual labels:  sublime-text
Sublime Text Imfix
Fix Sublime Text 3 Input method problem (CJK words) under Ubuntu
Stars: ✭ 969 (+1570.69%)
Mutual labels:  sublime-text
Terminus
Bring a real terminal to Sublime Text
Stars: ✭ 967 (+1567.24%)
Mutual labels:  sublime-text
Easysettings
Sublime Settings made easy through auto-completion!
Stars: ✭ 20 (-65.52%)
Mutual labels:  sublime-text
Sublimall Server
Server behind Sublimall SublimeText plugin
Stars: ✭ 43 (-25.86%)
Mutual labels:  sublime-text
Sublime Bookmarks
Sublime Text essential plugins and resources
Stars: ✭ 878 (+1413.79%)
Mutual labels:  sublime-text
Sublime Php Snippets
PHP snippets for Sublime Text.
Stars: ✭ 50 (-13.79%)
Mutual labels:  sublime-text
Squib
A Ruby DSL for prototyping card games.
Stars: ✭ 850 (+1365.52%)
Mutual labels:  sublime-text
Codeatlassublime
Code relationship graph visualization plugin of sublime editor
Stars: ✭ 44 (-24.14%)
Mutual labels:  sublime-text
Vhdl Mode
A package for Sublime Text that aids coding in the VHDL language.
Stars: ✭ 31 (-46.55%)
Mutual labels:  sublime-text
Nvim Completion Manager
⚠️ PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
Stars: ✭ 950 (+1537.93%)
Mutual labels:  auto-complete
Hayaku
Fuzzy abbreviations, support for preprocessors (Sass, Less, Stylus) and a lot of other features in easily configurable set of tools for writing CSS faster
Stars: ✭ 973 (+1577.59%)
Mutual labels:  auto-complete

WHAT PHP COMPLETIONS KIT IS

Minimum Sublime Version Latest Version GitHub stars Downloads

Provides PHP completions for Sublime Text.

FEATURES

  • PHP ~7
  • Scoped to minimise auto-complete noise
  • Language constructs
  • Magic constants
  • Magic methods
  • Constants
  • Functions
  • Type hints: Classes, Interfaces, Exceptions, Instantiables, etc.
  • Supported extensions: bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend, OPcache, zip, zlib.
  • PSR compatible

INSTALLATION

Package Control installation

The preferred method of installation is Package Control.

Manual installation

Close Sublime Text, then download or clone this repository to a directory named PHP Completions Kit in the Sublime Text Packages directory for your platform:

  • Linux: git clone https://github.com/gerardroche/sublime-phpck.git ~/.config/sublime-text-3/Packages/PHP Completions Kit
  • OSX: git clone https://github.com/gerardroche/sublime-phpck.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/PHP Completions Kit
  • Windows: git clone https://github.com/gerardroche/sublime-phpck.git %APPDATA%\Sublime/ Text/ 3/Packages/PHP Completions Kit

USAGE

By default, completions are triggered automatically when typing. If the setting auto_complete is set to false then completions must be manually triggered.

Completions are context aware, meaning they are only provided in relevant contexts e.g. type hints will trigger at class Name extends |, function(|, /* @var | */, exception trigger at try {} catch(|, interfaces at class name implements |, instantiables new |, etc.

Relating Sublime Text key bindings:

OS X Windows Linux Description
Ctrl+Space Ctrl+Space Alt+/ Activate completions

Relating Sublime Text settings:

{
    // By default, auto complete will commit the current completion on enter.
    // This setting can be used to make it complete on tab instead.
    // Completing on tab is generally a superior option, as it removes
    // ambiguity between committing the completion and inserting a newline.
    "auto_complete_commit_on_tab": false,

    // Controls if auto complete is shown when snippet fields are active.
    // Only relevant if auto_complete_commit_on_tab is true.
    "auto_complete_with_fields": false,
}

Set them globally: Menu > Preferences > Settings:

{
    "auto_complete_commit_on_tab": true,
    "auto_complete_with_fields": true
}

Set them per-project: Menu > Project > Edit Project:

{
    "settings": {
        "auto_complete_commit_on_tab": true,
        "auto_complete_with_fields": true
    }
}

CHANGELOG

See CHANGELOG.md.

LICENSE

Released under the BSD 3-Clause License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].