Go to file
Felix Becker 1ac5a8fce3 Handle case where version regexp doesnt match 2016-10-05 10:39:53 +02:00
.vscode Initial Commit 2016-08-25 17:55:00 +02:00
images Add workspace symbol search demo gif 2016-09-30 12:32:59 +02:00
src Handle case where version regexp doesnt match 2016-10-05 10:39:53 +02:00
typings Initial Commit 2016-08-25 17:55:00 +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 Install typings in Travis 2016-09-09 20:26:07 +02:00
.vscodeignore Initial Commit 2016-08-25 17:55:00 +02:00
README.md Add workspace symbol search demo gif 2016-09-30 12:32:59 +02:00
composer.json Upgrade language-server dep (#16) 2016-09-30 12:07:46 +02:00
package.json 0.0.9 2016-09-30 15:15:41 +02:00
tsconfig.json Check PHP version and display error message 2016-09-09 20:11:24 +02:00
tslint.json Initial Commit 2016-08-25 17:55:00 +02:00
typings.json Check PHP version and display error message 2016-09-09 20:11:24 +02:00

README.md

PHP IntelliSense

⚠ Work In Progress

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

Advanced PHP IntelliSense for Visual Studio Code. In opposite to the included PHP IntelliSense and other PHP extensions, this uses an AST to parse the source code instead of relying on naive regular expression parsing.

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 need at least PHP 7 installed and in your PATH for the extension to work.

Features

Find all symbols

Find all symbols demo

Column-accurate error reporting

Error reporting demo

Format code

Format code demo

Workspace symbol search demo

Todo

  • Autocompletion
  • Rename
  • Goto definition
  • Hover
  • Signature help
  • Follow composer autoloading

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.