Questions tagged [omnipascal]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

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, ...
  • 1
0 votes
0 answers
26 views

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 ...
0 votes
0 answers
36 views

How to setup and run on MAC?

I have installed free pascal I have installed lazerus. I have installed now visual studio code. I have installed the extension. But how do I use it?
  • 71
0 votes
1 answer
144 views

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-...
  • 1
0 votes
1 answer
75 views

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 ...
0 votes
1 answer
931 views

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 ...
  • 469
3 votes
0 answers
869 views

How to configure and build VSCode with Omnipascal and Delphi

I have two problems. The first is related with dfm form design preview. Not work. I will try to simulate error message for more info. Before that I need to setup configuration due to the buld error:&...
  • 345
1 vote
1 answer
576 views

Problems with installation of OmniPascal

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. ...
2 votes
1 answer
390 views

Can Visual Studio Code with OmniPascal handle bdsproj files?

I have a couple of projects with bdsproj files and I know they were created with Borland Delphi 2005. Is there a way to open these projects in Visual Studio Code? What settings must be present?
  • 2,396
1 vote
1 answer
259 views

Is it possible to apply refactoring using OmniPascal?

I've installed OmniPascal extension in Visual Studio Code to use it for coding in Delphi and I am loving it. Code completion, parameters hint, go to declarations, all working 100%! Nonetheless, I am ...
  • 326
0 votes
0 answers
445 views

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....
  • 991
1 vote
0 answers
321 views

How do I get OmniPascal to integrate with LLDB on the macOS 10.12.6

VSCode v1.14.2 macOS 10.12.6 Sierra lldb -version: lldb-370.0.42 Lazarus 1.8.0 RC3 FPC 3.0.2 Hi Wosi (or anyone that can help!), As you may know debugging Lazarus/Free Pascal on macOS Sierra is ...
user avatar
2 votes
1 answer
2k views

Set breakpoints into Object Pascal code in Visual Studio Code

I installed OmniPascal and Language Pascal extensions into VSCode. I have already installed FPC and GDB. I already compiled the Object Pascal code and have executable file created with the FPC. I ...
1 vote
1 answer
241 views

Intellisense in Visual Studio Code for Object pascal with reference into c# compiled dll

There is my problem: I´m trying to use Intellisense in Visual Studio Code in Object pascal language, where some of the main classes are in the C# Dll library a I´m using OmniPascal Extension. Is there ...
3 votes
2 answers
942 views

how to configure files paths in VSCode task errors

I configured a task in VSCode to compile a Delphi 2005 dpk. It is working and returning the errors on the "problems view", but it is not showing that errors in the file. I think it is happening ...
2 votes
1 answer
2k views

How to make OmniPascal work with FPC?

I've installed both FreePascal compiler and OmniPascal extension for VisualStudio code, but code completion doesn't work. In the manual you are saying that I need to write the path to Delphi compiler ...
6 votes
1 answer
569 views

Ordner nicht angegeben with OmniPascal in VSCode

People get the error when opening a file in Visual Studio Code when using OmniPascal: Ordner nicht angegeben which translates to: Folder not specified The first thought to ensure the paths in ...
  • 243k
1 vote
1 answer
1k views

Unable to find units in Delphi installation path

I'm trying out OmniPascal but I can't get it to find units in the Delphi installation directory like System.SysUtils. It just tells me that it cannot find the unit. See the attached image. Any ...
  • 2,246
3 votes
1 answer
427 views

OmniPascal installed in VSCode - Delphi file extensions broken [closed]

First StackOverflow question ever. Just installed OmniPascal extension into VSCode. Now ".dproj" and ".dpr" files are no longer associated with Embarcadero Delphi. This seems non-trivial to fix. ...
  • 308
3 votes
1 answer
1k views

Is there a GUID generator in Visual Studio code with Ominpascal extension

When creating a new interface a GUID has to be added to the interface definition. The Embarcadero IDE has a shortcut for this Ctrl-Shft-G Does Visual Studio Code with the omnipascal extenson also ...
  • 1,987
4 votes
1 answer
3k views

How do install OmniPascal into vscode

From the OmniPascal page on Visual Studio Marketplace: How to install Install Visual Studio Code and open it. Open View -> Command Palette... and type ext install OmniPascal Restart ...
  • 243k
3 votes
2 answers
548 views

Setting up OmniPascal extension for Visual Studio Code on OS X El Capitan

I'm using Visual Studio Code on OS X El Capitan. I've installed the OmniPascal extension in Visual Studio Code for coding using Free Pascal as the compiler without Delphi or lazarus installation. The ...
  • 33