title |
---|
Program Structure Interface (PSI) |
The Program Structure Interface, commonly referred to as just PSI, is the layer in the IntelliJ Platform that is responsible for parsing files and creating the syntactic and semantic code model that powers so many of the platform's features.
TIP A very helpful tool for debugging the PSI implementation is the PsiViewer plugin. It can show you the structure of the PSI tree, the properties of every PSI element and highlight its text range.