LSP Support

See the Language Server Specification for details.

Feature

Completion

See Completion

Hover

Signature Help

Goto Declaration

Goto Type

Goto Implementation

Find References

3

Document Highlight

Symbol highlighting

Workspace Symbols

Classes, functions and constants

Document Symbol

For structural elements

Selection Range

Code Action

2

Code Lens

Document Link

Document Color

Color Presentation

Formatting

Range Formatting

Rename

Variables and members 4

Folding/Selection Range

Diagnostics

5

1

Available through RPC (i.e. non-LSP client) LSP support should be added soon.

2

See LSP code actions.

3

For class like references, functions and member accesses (static and object instances)

4

Native LSP support for renaming variables and class members, with support planned for renaming classes and namespaces. RPC fills the gap: Rename Class

5

Basic PHP linting and also support for integrating with phpstan and Psalm.