The LSP (short for Language Server Protocol) is one of the latest features added to Qt in recent versions. The LSP makes Qt even more powerful by adding supports for other programming languages other than C++ and QML. By providing a client for the LSP, Qt Creator can provide the following features for programming languages that support the LSP:
- Code autocompletion
- Highlighting a symbol when it has a mouseover event
- Code actions
- Inspecting code by viewing the document outline
- Integrating diagnostics from the language server
- Finding references to a symbol
- Navigate to a symbol definition
This extends the usefulness of Qt Creator and removes the barrier that keeps Qt within the C++ realm. You could even write your Python project using Qt Creator and execute the code directly without leaving Qt! So, to enable LSP in Qt Creators, go to Help | About...