Skip to content

Intouch-Language is an open source extension created for Visual Studio Code (Not official!). It provides syntax highlighting, snippets and auto-format function for Intouch Basic. New since 2022.11.28 - own darkmode theme for VSC, names Intouch Dark. Intouch is a programming language for AVEVA (Wonderware) SCADA Intouch Applications.

License

Notifications You must be signed in to change notification settings

vitalyruhl/intouch-language

Repository files navigation

Intouch-Language README


Intouch-Language Logo

Version Installs Rating



Intouch-Language

  • Intouch-Language is an open source extension created for Visual Studio Code (Not official!). It provides syntax highlighting, snippets and auto-format function for Intouch Basic. New since 2022.11.28 - own darkmode theme for VSC, names Intouch Dark.
  • Intouch is a programming language for AVEVA (Wonderware) SCADA Intouch Applications.


Intouch



Example

Example


New Theme

NOTE: The default VS Code theme does not color much. Switch to intouch theme (installed by this extension) or use a theme like one of the following to benefit from the changes:



Example diffrent themes

Intouch Theme Dark

Intouch Theme Dark

VSC Theme Dark+

VSC Theme Dark+

Material Theme Darker

Material Theme Darker

VSC Theme Light

VSC Theme Light


Test and example

You can test it on this %USERPROFILE%\.vscode\extensions\intouch-language\other\test\test.vbi by press shift + alt + F



Installation

  • Standatd Installation:
  • Install from Github:
    • Copy or clone all in to: %USERPROFILE%\.vscode\extensions\intouch-language\
      • cd ~/.vscode/extensions/
      • git clone https://github.com/vitalyruhl/intouch-language.git
    • Open shell there and type npm i
    • Run: npm run compile, or npm run watch if you want to make changes in src folder.
    • You must restart the VS-Code after installation, to apply new settings



Snippets

  • Dimb -> Dim Boolean (Discrete)
  • Dimi -> Dim Integer
  • Dims -> Dim String (Message)
  • If# -> If code block
  • Ife -> If Else code block
  • for# -> add for-next-block
  • log# -> Log-Debug
  • cb# -> add new Code-Block
  • func# -> add new empty Function



Others

Save your code as .vbi or .vi for automatic language recognition.


Better-Comment Plugin




Enjoy!

Please report missing rules or future-requests on this link.



Todo

  • Formatter
    • Issues
      • Bug 13.02.2022 For-next not in plan when there are an EXIT FOR statement
      • Bug 13.02.2022 Nesting bug -> code in multiline comment will formatted to?!
    • Futures planned
      • Format on selection (now is formatting document!)

  • Syntax-highlighting
    • No issues
    • Futures planned
      • Add code checker for some errors in code

  • Snippets
    • No issues
    • No futures planned



What's new in Intouch-Language

V1.4.0

  • Correct some bugs in regex for syntax-highlighting
  • Theme -> Add more compatibility to other languages
  • Add more compatibility to other Themes (e.g. material-theme)

V1.3.0

V1.2.4

  • Update dependencies

V1.2.3

  • Bome bugfixes

V1.2.2

  • Bugfix on snippets

V1.2.1

  • Bugfix trailing whitespace before -

V1.2.0

  • Add folding between {region xxxx} and {endregion xxxx}
  • Add Nesting between {region xxxx} and {endregion xxxx}
  • Auto closing brackets in strings and comments.
  • Remove unused dependency with dependabot alert.
  • Add wordPattern and indentationRules into language configuration.
  • <fix bug - issue #13, formatter formats dashed variable foo-bar --> foo - bar

V1.1.1

  • Version issue with format problem on <>, =<, =>, == was published with greater version

V1.1.0

  • Add Code-Blocks for Nesting and Folding in code without keywords Start:{>, End:{<
  • Add Snipped cb# : add new Code-Block
  • Add Snipped for# : add for-next-block
  • Add Snipped func# : add new empty Function
  • Correct some spelling mistakes
  • Remove debugging settings

V1.0.0

  • Add Formatting Function



Donate

if you prefer a one-time donation

donate-Paypal

Become a patron, by simply clicking on this button (**very appreciated!**):

Become a patron




Copyright

2021-2022 (c)Vitaly Ruhl

License: GNU General Public License v3.0

About

Intouch-Language is an open source extension created for Visual Studio Code (Not official!). It provides syntax highlighting, snippets and auto-format function for Intouch Basic. New since 2022.11.28 - own darkmode theme for VSC, names Intouch Dark. Intouch is a programming language for AVEVA (Wonderware) SCADA Intouch Applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published