System files show up with red underlines

Issue #52 closed
Tim Mensch created an issue

For reasons I can't explain, OmniPascal isn't finding the system includes:

Image of broken code

Here are a few lines from my config:

// Place your settings in this file to overwrite the default settings
{
    "files.eol": "\n",
    "editor.wordWrap": "on",
    "omnipascal.delphiInstallationPath": "C:\\Program Files (x86)\\Embarcadero\\Studio\\18.0"
}

RAD Studio builds the project without issue.

Comments (6)

  1. Christopher Wosinski repo owner
    • changed status to open

    Your settings look good. Are you on Delphi Starter? If yes then you don't have the source files for the standard libraries. OmniPascal is currently not looking for .dcu files.

  2. Tim Mensch reporter

    I'm not on Delphi Starter, though I am on the 30 day preview. I see no .pas files. Maybe the preview doesn't ship with them?

  3. Christopher Wosinski repo owner

    I guess Embarcadero tries to protect their properties this way. Unfortunately there is no way for the current OmniPascal version to work with the DCU files.

  4. Log in to comment