Skip to content

Adventune/delphi-vscode

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published