Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DelphiNew to Visual Studio Code? Get it now.
Delphi

Delphi

adventune

|
5,192 installs
| (1) | Free
Delphi support for VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

delphi README

Delphi extension to allow full developer tooling for Delphi in VSCode.

Features

  • Building and running projects
  • Syntax highlighting
  • LSP Integration
  • Snippets

Requirements

  • 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.

Extension Settings

  • delphi.bin Path to delphi bin folder. Defaults to newest installation.
  • delphi.serverType Defines the operation mode
  • delphi.agentCount Defines the number of sub processes (agents) when serverType is controller. If agentCount > 1 then one process will be dedicated to Error Insight
  • delphi.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)

Release Notes

Check out CHANGELOG.

Some credits

  • 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.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft