Skip to content

Advanced PHP IntelliSense for Visual Studio Code ๐Ÿ†š๐Ÿ’ฌ

Notifications You must be signed in to change notification settings

herbertpimentel/vscode-php-intellisense

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

59 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 for the extension to work. You can either add it to your PATH or set the php.executablePath setting.

Features

Workspace symbol search

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

  • Autocompletion
  • 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.

About

Advanced PHP IntelliSense for Visual Studio Code ๐Ÿ†š๐Ÿ’ฌ

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%