diff --git a/README.md b/README.md index 8ecbdb5..0956111 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,22 @@ # PHP IntelliSense -> **⚠ Work In Progress** - [![Latest Release](https://vsmarketplacebadge.apphb.com/version-short/felixfbecker.php-intellisense.svg)](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense) [![Installs](https://vsmarketplacebadge.apphb.com/installs/felixfbecker.php-intellisense.svg)](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense) [![Rating](https://vsmarketplacebadge.apphb.com/rating-short/felixfbecker.php-intellisense.svg)](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-intellisense) [![Build Status](https://travis-ci.org/felixfbecker/vscode-php-intellisense.svg?branch=master)](https://travis-ci.org/felixfbecker/vscode-php-intellisense) [![Dependency Status](https://gemnasium.com/felixfbecker/vscode-php-intellisense.svg)](https://gemnasium.com/felixfbecker/vscode-php-intellisense) [![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.0-8892BF.svg)](https://php.net/) [![Gitter](https://badges.gitter.im/felixfbecker/vscode-php-intellisense.svg)](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. - **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. +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](images/completion.gif) + ### Workspace symbol search ![Workspace symbol search demo](images/workspaceSymbol.gif) @@ -40,7 +42,6 @@ You need at least PHP 7 installed for the extension to work. You can either add ## Todo - - Autocompletion - Rename - Signature help diff --git a/composer.json b/composer.json index ab3ccdb..795ed73 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "minimum-stability": "dev", "prefer-stable": true, "require": { - "felixfbecker/language-server": "^4.1.1" + "felixfbecker/language-server": "^4.2.4" }, "scripts": { "parse-stubs": "LanguageServer\\ComposerScripts::parseStubs", diff --git a/images/completion.gif b/images/completion.gif new file mode 100644 index 0000000..b43d2f9 Binary files /dev/null and b/images/completion.gif differ