I followed the instructions on http://www.omnipascal.com/:
Install Visual Studio Code and open it.
Open View Command Palette... and type ext install
Search for OmniPascal and install it.
Restart Visual Studio Code and open File -> Preferences -> User Settings
Add the key objectpascal.delphiInstallationPath to the right editor
and set its value to the Delphi installation path.
Don't forget to escape the backslashes!
Perform a right click on the root folder of a Delphi project and select Open with Code
Extension Settings are:
Omnipascal: Create Build Scripts
-> checked
Omnipascal: Default Development Environment
-> Delphi
Omnipascal: Delphi Installation Path
-> C:\\Program Files (x86)\\Embarcadero\\Studio\\18.0
Right click on the root folder of a Delphi project will open the project-files in vscode.
Run without debugging
will promt me to :
select environment
with the only option node.js
.
Extension OmniPascal ist enabled, but does nothing.
What am I missing?