Go to file
Felix Becker efae503489 1.4.1 2017-06-17 11:26:43 +02:00
.github Add issue template 2017-05-24 09:36:42 +02:00
.vscode Initial Commit 2016-08-25 17:55:00 +02:00
images Add Completion (#62) 2017-02-03 13:31:01 +01:00
src Support custom memory limit (#102) 2017-04-10 22:36:10 +02:00
.editorconfig Initial Commit 2016-08-25 17:55:00 +02:00
.gitignore Check PHP version and display error message 2016-09-09 20:11:24 +02:00
.travis.yml Skip cleanup 2017-06-15 20:58:25 +02:00
.vscodeignore Initial Commit 2016-08-25 17:55:00 +02:00
README.md Add Completion (#62) 2017-02-03 13:31:01 +01:00
composer.json Update to 4.5.2 2017-06-17 11:14:40 +02:00
package-lock.json 1.4.1 2017-06-17 11:26:43 +02:00
package.json 1.4.1 2017-06-17 11:26:43 +02:00
tsconfig.json Update TSLint 2016-12-25 12:33:12 +01:00
tslint.json Update TSLint 2016-12-25 12:33:12 +01:00
typings.json Update typings 2017-02-15 11:51:15 +01:00

README.md

PHP IntelliSense

Latest Release Installs Rating Build Status Dependency Status Minimum PHP Version Gitter

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.

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

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

Format code

Format code demo

Column-accurate error reporting

Error reporting demo

Todo

  • Rename
  • Signature help

Contributing

Clone whole repository and in root directory execute:

composer install 
npm install
npm run compile
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.