Git Product home page Git Product logo

vscode-scl's Introduction

README

Siemens SCL language support for Visual Studio Code.

Download

Download this extension through Visual Studio Code (search in Extensions), or click this link.

Features

Adds syntax highlighting and snippets to SCL files in Visual Studio Code

Snippets:

There are snippets included in this extension. To use them, type the prefixes listed below.

Prefix Description
if If-clause
ife If-else clause
iff If-elsif clause
iffe If-elsif-else clause
case Case clause
for For-loop
while While-loop
repeat Repeat-loop
nvar Variable declaration
struct Struct clause
arr Array declaration
varat Variable AT declaration
fb Function-block template
fn Function template
bo2<x> Convert bool to x
b2<x> Convert byte to x
c2<x> Convert char to x
d2<x> Convert date to x
di2<x> Convert dint to x
dw2<x> Convert dword to x
i2<x> Convert int to x
r2<x> Convert real to x
s2<x> Convert string to x
t2<x> Convert time to x
tod2<x> Convert time of day to x
w2<x> Convert word to x
db2<x> Convert block DB to x
bcd2<x> Convert bcd to x
ws2<x> Convert wstring to x

In addition a lot of the S7_xx-attributes has been added as snippets, with descriptions. Most likely some are still missing. Let me know if you are missing some, or if you find any misspellings.

Contributions

Contributions are greatly appreciated. Please fork this repository and open a pull request to add snippets, make grammar changes, etc.

vscode-scl's People

Contributors

gunders89 avatar rovry avatar d-ani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.