Skip to content

Commit 298b7cc

Browse files
committed
feat: update php intelligence documentation
1 parent fdd5ac7 commit 298b7cc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/07-Code Intelligence/02-php.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Everything works the same way as in [JavaScript & TypeScript](./js-ts-code-intel
1111
PHP code intelligence runs in the desktop app.
1212
:::
1313

14-
## Installing the Language Server
14+
## Automatic Setup
1515

16-
PHP code intelligence is powered by [Intelephense](https://intelephense.com). Its license does not allow Phoenix Code to ship it, so it is downloaded once, with your permission. The first time you open a PHP file, an install prompt appears:
16+
PHP code intelligence is powered by [Intelephense](https://intelephense.com). Phoenix Code downloads it the first time you open a PHP file. The progress shows in the status bar, with a stop button to cancel.
1717

18-
<!-- TODO: PLUTO - add image here showing the PHP install prompt -->
18+
<!-- TODO: PLUTO - add image here showing the PHP setup task in the status bar -->
1919

20-
Click **Install**. Phoenix Code downloads the server and shows the progress in the status bar. From then on everything works automatically, including updates.
20+
> Updates are automatic, and if you are offline, the download waits for a connection.
2121
22-
If you decline, you can turn it on any time by setting the `php.codeIntelligence` [preference](/docs/editing-text#editing-preferences) to `true`. This offers the install again.
22+
To turn PHP code intelligence off, set the `php.codeIntelligence` [preference](/docs/editing-text#editing-preferences) to `false`. Setting it back to `true` downloads the server again.
2323

2424
> HTML, CSS, and JavaScript inside your PHP files keep their existing code hints. Intelephense handles only the PHP parts.
2525

0 commit comments

Comments
 (0)