Delphi extension to allow full developer tooling for Delphi in VSCode.
- Building and running projects
- Syntax highlighting
- LSP Integration
- Snippets
- Delphi 11 installed
- Project LSP config generated with Delphi
- In Delphi: Tools > Options > User Interface > Editor > Language (pick Delphi from the dropdown ) > Code Insight and turn on ‘Generate LSP Config’, and close and reopen your project.
delphi.bin
Path to delphibin
folder. Defaults to newest installation.delphi.serverType
Defines the operation modedelphi.agentCount
Defines the number of sub processes (agents) when serverType is controller. If agentCount > 1 then one process will be dedicated to Error Insightdelphi.logModes
Bit mask defining logging modes [1 (RawInputMessage), 2 (RawOutputMessage), 4 (Queue), 8 (Processor), 16 (Server), 32 (AgentFacade), 64 (DCC related), 128 (LSP Inspector traces)]delphi.configFile
File URI of current LSP config (.delphilsp.json)
Check out CHANGELOG.
- Pascal for VSCode
- Copied syntax & snippets from here.
- DelphiLSP for VSCode
- "Reverse engineered" (opened the extension with 7-Zip) some of the code for handling the custom notifications that are needed to be sent to the LSP.