A Visual Studio Code extension that lets you open the file you're currently editing directly in the Delphi IDE.
Requires DRipExtensions to be installed and configured in Delphi.
In memory of Richard.
Features
Seamless switch between VS Code and Delphi IDE
Build the active project in Delphi IDE from VS Code
Compile the active project in Delphi IDE from VS Code
Switch between .pas and .dfm files with a single shortcut
Easy to use via Command Palette, context menu, or keyboard shortcuts
Usage
Commands Available
The extension provides three main commands:
Open Current File in Delphi - Opens the current file in VS Code directly in the Delphi IDE
Build Active Project in Delphi - Builds the active project in Delphi IDE
Compile Active Project in Delphi - Compiles the active project in Delphi IDE
Toggle .pas ↔ .dfm File - Toggles between the corresponding .pas and .dfm file
Using the Commands
Execute any of the available commands via:
Command Palette (Ctrl+Shift+P) -> Search for the command name ( prefix is always "Open in Delphi: " for easier search )
Right-click context menu in the editor or file explorer
Default Keybinding
Description
Shift+Alt+D
Open Current File in Delphi
Shift+Alt+B
Build Active Project in Delphi
Shift+Alt+C
Compile Active Project in Delphi
Shift+Alt+T
Toggle between .pas and .dfm File
Switch from VS Code to Delphi
Execute the "Open Current File in Delphi" command via:
Command Palette (Ctrl+Shift+P) -> "Open Current File in Delphi"
Default keyboard shortcut: Shift+Alt+D
Right-click context menu in the editor or file explorer
Switch From Delphi to VS Code
Tools | DRipExtensions | Open With...
Default keyboard shortcut: Shift+Alt+O
Select "Open in VSCode instance" and push enter.
Requirements
VS Code 1.102.0 or higher
Delphi IDE installed and configured
DRipExtensions 4.12.0 or higher must be installed and configured in Delphi
Installation
Open Visual Studio Code
Go to the Extensions view (Ctrl+Shift+X)
Search for "Open in Delphi"
Click "Install" on the extension by Mattia72-OpenInDelphi