Go to file
Renovate Bot c62c24267e
chore(deps): update dependency semantic-release to v16
2020-01-10 17:09:38 +00:00
.github style: use prettier 2018-11-11 18:32:27 +01:00
.vscode style: use prettier 2018-11-11 18:32:27 +01:00
images docs: add signature help demo gif 2017-12-09 21:58:49 -08:00
src fix: prevent focusing the output tab (#454) 2019-12-26 18:50:27 +01:00
.editorconfig Initial Commit 2016-08-25 17:55:00 +02:00
.gitignore build: add package-lock.json 2019-09-20 17:38:06 +02:00
.prettierignore style: use prettier 2018-11-11 18:32:27 +01:00
.prettierrc style: use prettier 2018-11-11 18:32:27 +01:00
.travis.yml build: fix package-lock.json 2019-12-26 19:05:54 +01:00
.vscodeignore fix: include stubs autoloader map 2019-09-19 14:23:48 +02:00
CHANGELOG.md style: use prettier 2018-11-11 18:32:27 +01:00
LICENSE docs: update copyright year (#397) 2018-11-22 09:08:15 +01:00
README.md style: use prettier 2018-11-11 18:32:27 +01:00
composer.json fix: bump PHP version requirement to 7.1 2019-09-20 17:34:37 +02:00
composer.lock fix: bump PHP version requirement to 7.1 2019-09-20 17:34:37 +02:00
dependencies.yml style: use prettier 2018-11-11 18:32:27 +01:00
package-lock.json chore(deps): update dependency semantic-release to v16 2020-01-10 17:09:38 +00:00
package.json chore(deps): update dependency semantic-release to v16 2020-01-10 17:09:38 +00:00
renovate.json chore(renovate): separate minor and patch 2018-11-13 22:35:18 +01:00
tsconfig.json style: use prettier 2018-11-11 18:32:27 +01:00
tslint.json style: use prettier 2018-11-11 18:32:27 +01:00

README.md

PHP IntelliSense

vs marketplace downloads rating build php: >=7.0.0 chat: on gitter semantic-release

Advanced PHP IntelliSense for Visual Studio Code.

Note: This is just the VS Code extension that spawns the actual language server. The language server itself is implemented purely in PHP in its own repository, all features need to be implemented there and all issues should be reported there. You do NOT need to install it manually though, it is bundled in this extension.

Installation

You need at least PHP 7 installed for the extension to work. You can either add it to your PATH or set the php.executablePath setting.

I recommend to disable VS Code's built-in PHP IntelliSense by setting php.suggest.basic to false to avoid duplicate suggestions.

Features

Completion

Completion search demo

Signature Help

Signature help demo

Workspace symbol search demo

Find all References

Find References demo

Go to Definition

Go To Definition demo

Hover

Hover class demo

Hover parameter demo

Find all symbols

Find all symbols demo

Column-accurate error reporting

Error reporting demo

Code style linting

Please use a dedicated extension like PHP CodeSniffer.

Format code

Please use a dedicated extension like PHP CS Fixer.

Todo

  • Rename
  • Signature help

Contributing

Clone whole repository and in root directory execute:

composer install
npm install
npm run build
code .

The last command will open the folder in VS Code. Hit F5 to launch an Extension Development Host with the extension. For working on the language server, the easiest way is to replace the language server installation from composer in vendor/felixfbecker/language-server with a symlink to your local clone.

For guidance on how to work on the language server, please see the language server repository.