44 lines
2.3 KiB
Markdown
44 lines
2.3 KiB
Markdown
# PHP IntelliSense
|
|
|
|
> **⚠ Work In Progress**
|
|
|
|
[](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense) [](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense) [](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense) [](https://travis-ci.org/felixfbecker/vscode-php-intellisense) [](https://gemnasium.com/felixfbecker/vscode-php-intellisense) [](https://gitter.im/felixfbecker/vscode-php-intellisense?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
|
|
|
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.
|
|
|
|
## Features
|
|
|
|
### Find all symbols
|
|

|
|
|
|
### Column-accurate error reporting
|
|

|
|
|
|
|
|
## Todo
|
|
- Autocompletion
|
|
- Rename
|
|
- Goto definition
|
|
- Format document
|
|
- Hover
|
|
- Signature help
|
|
- Follow composer autoloading
|
|
|
|
|
|
## Contributing
|
|
|
|
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](https://github.com/felixfbecker/php-language-server), all features need to be implemented there and all issues should be reported there.
|
|
|
|
### Build and Run From Source
|
|
Clone whole repository and in root directory execute:
|
|
```bash
|
|
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.
|