Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>[DEPRECATED] Buhler GCPro Macro LanguageNew to Visual Studio Code? Get it now.
[DEPRECATED] Buhler GCPro Macro Language

[DEPRECATED] Buhler GCPro Macro Language

BuhlerPlcTools

|
22 installs
| (0) | Free
Syntax of Buhler GCPro Macros
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

gcpro-macro-language README

? IMPORTANT ?
This extension was migrated to a new publisher. Please uninstall it and install the new extension instead.

Buhler GCPro is a tool that helps engineers to program PLC with ease and embedded know-how.

GCPro functionalities can be extended by using Macros (gcmac files) which are use during compilation to achieve the expected result.

This Extension is used to help users with the macro syntax and provide a better view of the macro file.

Features

Almost all instructions written on GCPro Developer Manual (normally under C:\Program Files (x86)\Gcpro\GCPRO-NET-Developer_MAN_1A_en.pdf) are covered and some snippets to help fast programming. See next section.

Snippets

  • sub: Create Sub structure with comment out of the title.

    sub Snippet

    CamelCase and Underscores are replaced by space on description after tab

  • if: Create If structure

  • ifelse: Create If structure

Requirements

You need GCPro to run the macros and to debug it you need GCPro Development version.

Additional Visual Studio Code configuration

  • Go to File->Preferences->Settings (Ctrl+,)

  • On field "Search settings" type: "Encoding" and check the option Auto Guess Encoding. That is necessary because GCPro macros ar written with ISO 8859-1 encoding.

    Encoding Settings

  • Type "Whitespace" and select on the field "Editor: Render Whitespace" the option all (that helps to see if it is a whitespace or tab)

    WhiteSpace Settings

Known Issues

None at the moment.

Release Notes

Find below the release notes of each version.

1.0.1

Add Visual Studio configuration settings to Readme.

1.0.0

Initial release of GCPro Macro Language as an extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft