Many comments and answers have pointed out that the Delphi IDE is a powerful and stable GUI development environment, and I completely agree with this assessment. However, over the past three years, the rapid advancement of AI-driven development and features in other IDEs has outpaced the capabilities provided by Embarcadero. In particular, other IDEs have made significant strides in AI support and development tools, whereas Delphi has struggled to keep up.
While I couldn't find a straightforward procedure to run Delphi code directly from Visual Studio Code, I discovered a plugin for the Delphi IDE called "Edit in VSCode". This plugin allows you to easily open and edit your Delphi code in Visual Studio Code, which can be a significant productivity boost for coding. However, it’s worth noting that vsCode is only helpful for editing the code itself—it does not support Delphi’s GUI development.
For anyone interested, here is the link to the plugin along with its description and usage instructions: https://github.com/csm101/EditInVsCodeDelphiPlugin
Personally, I’ve found this tool to be very helpful.