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
6
votes
1 answer

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 user settings.json are…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
4
votes
1 answer

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 Visual Studio Code and open File -> Preferences -> User…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
0 answers

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:"Missig Form Unit". Let start this amazing post…
Pit
  • 395
  • 2
  • 11
3
votes
2 answers

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 because when I click on an error, I get the error…
3
votes
1 answer

OmniPascal installed in VSCode - Delphi file extensions broken

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. Can anyone suggest a fix short of reinstalling…
burque505
  • 318
  • 3
  • 7
3
votes
1 answer

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 have such a shortcut?
Bascy
  • 2,017
  • 1
  • 21
  • 46
3
votes
2 answers

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 installation guide on…
lbx
  • 33
  • 4
2
votes
1 answer

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?
David
  • 2,426
  • 3
  • 24
  • 36
2
votes
1 answer

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 can set breakpoints and debug C++ code within…
Lukas Salich
  • 959
  • 2
  • 12
  • 30
2
votes
1 answer

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 int the user settings, but nothing is said about…
user2102508
  • 1,009
  • 11
  • 23
1
vote
1 answer

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. Restart Visual Studio Code and open File ->…
1
vote
1 answer

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 missing the refactor commands like rename…
noen
  • 346
  • 3
  • 10
1
vote
0 answers

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 problematic because of issues with GDB. This forces…
user7430298
1
vote
1 answer

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 any chance to get a reference to this Dll (like…
1
vote
1 answer

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 ideas what I could be doing wrong? It also doesn't…
Jed Veatch
  • 2,326
  • 3
  • 12
  • 13
1
2