Skip to content

Commit bfecbcb

Browse files
committed
Update VS Code setup instructions to recommend official extension
1 parent 00d64ae commit bfecbcb

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

docs/SETUP.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -89,28 +89,9 @@ vim.lsp.enable('phpantom')
8989
</details>
9090

9191
<details>
92-
<summary><b>VS Code</b></summary>
92+
<summary><b>VS Code / Cursor</b></summary>
9393

94-
1. **Install a generic LSP client extension**
95-
96-
* Recommended: [Generic LSP Client (v2)](https://marketplace.visualstudio.com/items?itemName=zsol.vscode-glspc)
97-
* Install via VS Code Marketplace:
98-
99-
```vscode-extensions
100-
zsol.vscode-glspc
101-
```
102-
103-
2. **Download PHPantom LSP binary**
104-
105-
* Get it from [GitHub Releases](https://github.com/AJenbo/phpantom_lsp/releases/latest)
106-
* Extract the binary and place it in a preferred location
107-
108-
3. **Configure the extension**
109-
110-
* Open VS Code settings for Generic LSP Client (v2)
111-
* Set the path to your PHPantom binary
112-
* Add the Language ID: `php`
113-
* Restart VS Code
94+
Install the [PHPantom extension](https://marketplace.visualstudio.com/items?itemName=phpantom.phpantom) from the VS Code Marketplace. It automatically downloads the language server binary and starts it when you open a PHP file.
11495

11596
</details>
11697

0 commit comments

Comments
 (0)