Skip to content

Commit 4b01415

Browse files
committed
Document support for the files extension
1 parent 50490d5 commit 4b01415

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ They do not work yet for:
9494
- Reassigned variables
9595
- Nested access/calls on return values or properties
9696

97+
### Protocol Extensions
98+
99+
This language server implements the [files protocol extension](https://github.com/sourcegraph/language-server-protocol/blob/master/extension-files.md).
100+
If the client expresses support through `ClientCapabilities.xfilesProvider` and `ClientCapabilities.xcontentProvider`,
101+
the server will request files in the workspace and file contents through requests from the client and never access
102+
the file system directly. This allows the server to operate in an isolated environment like a container,
103+
on a remote workspace or any a different protocol than `file://`.
104+
97105
## Performance
98106

99107
Upon initialization, the server will recursively scan the project directory for PHP files, parse them and add all definitions

0 commit comments

Comments
 (0)