Skip to content

trianglesis/bmc-tpl

Repository files navigation

BMC The Pattern Language TPL support in VS Code

The Pattern Language TPL

Adds syntax highlighting and snippets The Pattern Language TPL: tpl in VS Code Includes .tpl, .tplpre and .model files support.

Originally re-made from the Atom bundle Old extensions are valid, but not updated often.

Installation:

  • Go to your VS Code Extensions and type "bmc-tpl" in search!

Set syntax: Ctrl+Shift+P -> "Change language mode" type 'tplpre'

Syntax highlighting:

Most of constructions are also checking on integrity, so if some code will be written on wrong place, highlighting can be broken.

Examples (currently based on Atom, and maybe will be refreshed):

Pattern from Community Edition:

  • blocks

Documentation block and tasks highlighted:

  • docs

Triggers:

  • regexes

Regex expressions: (uses python regex grammar from "language-python")

  • more_regexes

Syntax broken (highlighting will show it)

  • syntax_broken

Autocomplete and Doc links:

For common code blocks and usual constructions autocompletion is available. It also provide links to reffering documentaion for each function or block on official BMC Doc portal.

Pattern draft example:

  • pattern_blocks

Code constructions usually used:

  • common_code

Link to BMC official docs:

  • docs

Extra developers helping code:

  • dev_examples

Automation, syntax check, upload pattern, etc:

For IDE related support, such as syntax check and testing, please raise a request or topic on official community: BMC Discovery community page..

About

BMC TPL (language) support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages