PHPUnit Completions
Autocomplete functionallity for PHPUnit assertions.
Details
Installs
- Total 50K
- Win 30K
- Mac 8K
- Linux 12K
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 2 | 0 | 0 | 0 | 2 | 1 | 1 | 1 | 1 | 1 | 6 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 3 | 1 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 5 |
Readme
- Source
- raw.githubusercontent.com
PHPUNIT COMPLETIONS
Provides decent PHPUnit completions for Sublime Text.
Overview
Features
- Fully PSR compliant
- Scoped to minimize auto-complete noise
- Enhanced support for test case type hints, such as starting at
class Name extends |
, and any other context where a type hint is applicable. - Extensive assertions support, including starting with
assert|
or$this->assert|
- Time-saving test case helpers like starting with
getMockBuilder|
or$this->getMockBuilder|
- Streamlined use of annotations through doc block scope, such as
/* @covers| */
or without the@
symbol/* covers| */
Key Bindings
OS X | Windows | Linux | Description |
---|---|---|---|
Ctrl+Space | Ctrl+Space | Alt+/ | Activate completions |
To enable tab-completions set "tab_completion": true
in Preferences > Settings - User
.
Installation
Package Control Installation
- Open Sublime Text.
- Press
Ctrl+Shift+P
(Windows/Linux) orCmd+Shift+P
(macOS) to open the Command Palette. - Type “Package Control: Install Package” and press
Enter
. - In the input field, type “PHPUnit Completions” and select it from the list of available packages.
Git Repository Installation
- Open a terminal or command prompt.
- Navigate to the Sublime Text Packages directory:
- On Windows:
%APPDATA%\Sublime Text\Packages
- On macOS:
~/Library/Application Support/Sublime Text/Packages
- On Linux:
~/.config/sublime-text/Packages
- On Windows:
- Clone the plugin repository directly into the Packages directory using Git:
git clone https://github.com/tkowalewski/phpunit-sublime-completions.git
Contributing
Your issue reports and pull requests are always welcome.
Changelog
See CHANGELOG.md.