ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

PHPUnit Completions

by tkowalewski ALL

Autocomplete functionallity for PHPUnit assertions.

Details

Installs

  • Total 50K
  • Win 29K
  • Mac 8K
  • Linux 12K
Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5
Windows 0 1 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 1 0 0 2 0 0 0 2 1 0 1 1 0 0 2 0 0 0 0 0 1 0 5 0 1 0 0 0 3
Mac 0 1 0 0 2 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 1 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 2 0 1 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 0 0 0 0 0 1 1 0 1 0 1 0 0 0 0 1 0 0 0 0 0

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

  1. Open Sublime Text.
  2. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) to open the Command Palette.
  3. Type “Package Control: Install Package” and press Enter.
  4. In the input field, type “PHPUnit Completions” and select it from the list of available packages.

Git Repository Installation

  1. Open a terminal or command prompt.
  2. 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
  3. 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.