Add Completion (#62)
parent
e79ec8a646
commit
cc06249800
13
README.md
13
README.md
|
@ -1,20 +1,22 @@
|
||||||
# PHP IntelliSense
|
# 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://php.net/) [](https://gitter.im/felixfbecker/vscode-php-intellisense?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](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://php.net/) [](https://gitter.im/felixfbecker/vscode-php-intellisense?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
|
|
||||||
Advanced PHP IntelliSense for Visual Studio Code.
|
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](https://github.com/felixfbecker/php-language-server), all features need to be implemented there and all issues should be reported there.**
|
**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](https://github.com/felixfbecker/php-language-server), 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.
|
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
|
## Features
|
||||||
|
|
||||||
|
### Completion
|
||||||
|

|
||||||
|
|
||||||
### Workspace symbol search
|
### Workspace symbol search
|
||||||

|

|
||||||
|
|
||||||
|
@ -40,7 +42,6 @@ You need at least PHP 7 installed for the extension to work. You can either add
|
||||||
|
|
||||||
|
|
||||||
## Todo
|
## Todo
|
||||||
- Autocompletion
|
|
||||||
- Rename
|
- Rename
|
||||||
- Signature help
|
- Signature help
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"require": {
|
"require": {
|
||||||
"felixfbecker/language-server": "^4.1.1"
|
"felixfbecker/language-server": "^4.2.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"parse-stubs": "LanguageServer\\ComposerScripts::parseStubs",
|
"parse-stubs": "LanguageServer\\ComposerScripts::parseStubs",
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 158 KiB |
Loading…
Reference in New Issue