Go to file
renovate[bot] aa9645af54 chore: configure Renovate (#350) 2018-09-01 23:50:41 +02:00
.github Add issue template 2017-05-24 09:36:42 +02:00
.vscode Update tasks 2017-08-21 22:57:12 -07:00
images docs: add signature help demo gif 2017-12-09 21:58:49 -08:00
src fix: restricting language services to file schemes 2018-04-04 17:21:31 -07:00
.editorconfig Initial Commit 2016-08-25 17:55:00 +02:00
.gitignore chore: optimize package 2017-11-01 23:45:55 -07:00
.npmrc Disable package-lock.json 2017-10-19 14:49:28 -07:00
.travis.yml chore: configure Renovate (#350) 2018-09-01 23:50:41 +02:00
.vscodeignore chore: optimize package 2017-11-01 23:45:55 -07:00
CHANGELOG.md docs: add changelog that points to GitHub releases 2017-10-29 15:25:03 -07:00
LICENSE Create LICENSE 2017-07-29 14:27:14 +02:00
README.md docs(badges): remove Gemnasium badge 2018-07-11 00:37:33 -07:00
composer.json fix: update dependencies 2018-08-21 20:15:44 +02:00
composer.lock fix: update dependencies 2018-08-21 20:15:44 +02:00
dependencies.yml ci(dependencies.io): use latest php-composer actor 2017-10-29 15:33:06 -07:00
package.json chore: update semantic-release-vsce to fix bug 2018-05-30 15:17:58 -07:00
renovate.json chore: configure Renovate (#350) 2018-09-01 23:50:41 +02:00
tsconfig.json build(tsconfig): exclude vendor 2017-12-09 21:09:23 -08:00
tslint.json Update TSLint 2016-12-25 12:33:12 +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.