Questions tagged [omnipascal]

Extension for Visual Studio Code to enable object pascal code with code completion and syntax highlighting

Extension for visual studio code to enable object pascal code with code completion and syntax highlighting

22 questions
0
votes
0 answers

Omnipascal "No definition found" when unit file contains $I include file

I have found that having a {$I filename} in a unit file apparently prevents Omnipascal from being able to resolve references after that. In the following example, cs1 is not found as a reference unless the {$I filename} is removed from…
Paul G
  • 61
  • 1
  • 2
  • 3
0
votes
1 answer

end keyword always in red (just curious)

I noticed that after activating OmniPascal, all [end] keywords are now in red, no matter what theme I switch to. Is it normal, or I am being stupid and messed sth?? Thank you. Tried switching themes, uninstalling ([end]s were back to normal) and…
Keeeth
  • 1
0
votes
0 answers

Omnipascal "'.vscode' is not recognised as an internal or external command"

I keep getting this error when I 'Tasks: Run Test Build'. Has anyone have a way to fix this? I'm using FreePascal if that helps. thank you in advance. I looked through the OmniPascal settings section in Visual Studio Code and could not find…
0
votes
1 answer

VS Code Omnipascal on xUbuntu 20.0.4 and FPC 3.2.0 compile error

I have a fresh installation of xubuntu vers. 20.0.4 I have installed Visual Studio Code vers. 1.64.0 I have installed: fpc-laz_3.2.0-1_amd64.deb fpc-src_3.2.0-1_amd64.deb lazarus-project_2.0.10-0_amd64.deb All installed correctly I opened a project…
ianc
  • 1
  • 1
0
votes
1 answer

Extention OmniPascal (vscode) using too much CPU - How to resolve?

Every time I start vscode, OminiPascalServer.exe start to use 35 to 50% of CPU process. This appears not only in my computer, but with every person I know who use this extention. Exist some configuration to fix it? Thanks!
0
votes
1 answer

How to install/ write delphi or object pascal code in VS Code

How do I code pascal in VS Code? How do I tell VS Code where to look for the compiler, because I have RAD Studio 10.3 installed. And, how do I compile a multi-file program? I have managed to attain Omnipascal in VS Code for the syntax highlight, but…
Romans
  • 469
  • 1
  • 4
  • 17
0
votes
0 answers

How can I work with FPC from OmniPascal?

I tried this commands in VSCode on Windows "omnipascal.delphiInstallationPath": "C:\\lazarus\\fpc" "omnipascal.delphiInstallationPath": "C:\\lazarus\\fpc\\3.0.2\\source" "omnipascal.freePascalSourcePath":…
İbrahim
  • 991
  • 1
  • 10
  • 32
1
2