OmniPascal 0.8.1 released

New features
– Syntax errors are displayed in the editor
– Method definitions without implementations produce warnings
– Warnings for missing implementations provide a quickfix that creates an empty implementation stub for it. TIP: Open the lightbulb with CTRL+.
– Additional search paths can be defined in configuration file using the "objectpascal.searchPath" parameter. Paths are separated by ;. TIP: "D:\\ThirdPartyComponents\\*" will add the folder "D:\ThirdPartyComponents and all its subfolders recursively to the search path.
– DPR files have now support for code completion
– DPR files have now support for outlining

Bug fixes
– Code completion cleaned up from internal compiler methods
– It was impossible to go to the declaration of a procedure that was not a class member
– Fixed undefined internal file state that occured from time to time
– Parameters were not always displayed correctly when hovering a method

Changes
– Toggle Method declaration/implementation has become more error tolerant
– Outlining huge files is >10 times faster now
– Create code completions in huge files is >20 times faster now
– OmniPascal generally runs faster and consumes less memory
– Some words like as, mod,div etc. are temporarily not displayed as operators (gray in dark default theme) but as keywords (blue). This change has become necassary as Visual Studio Code broke some details in syntax highlighting with the latest release. Probably operators will be displayed in gray again in the future.

You Might Also Like

2 Comments

  • Edwin Yip

    December 24, 2015

    I’m behind the GWF and I’m waiting for VSC to support proxy in order to try this awesome extension.

    Reply
    • Wosi

      Wosi

      December 24, 2015

      There is a way to sideload extensions. Unfortunately there is currently no alternative download link for OmniPascal available.

      In case you have access to a computer that has internet access without using a proxy you can do this:

      • Install VSCode on that computer and install the OmniPascal extension
      • Copy the folder %UserProfile%.vscode\extensions\Wosi.OmniPascal-0-8-1 to a USB drive or upload it to the cloud
      • Go to the computer that uses the proxy and copy that folder to %UserProfile%.vscode\extensions\

      When you start VSCode OmniPascal should be installed.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *