All Projects → Serhioromano → vscode-st

Serhioromano / vscode-st

Licence: MIT license
Extension for VS Code to support Structured Text language.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to vscode-st

ads-client
Unofficial Node.js ADS library for connecting to Beckhoff TwinCAT automation systems using ADS protocol.
Stars: ✭ 44 (-53.19%)
Mutual labels:  plc, twincat3, codesys
iec-checker
Static analysis of IEC 61131-3 programs
Stars: ✭ 36 (-61.7%)
Mutual labels:  plc, structured-text, iec61131-3
SoftBeckhoff
Virtual Beckhoff PLC for local testing with docker support
Stars: ✭ 40 (-57.45%)
Mutual labels:  plc, twincat3
vscode-language-terraform
Adds support for the Terraform configuration language to Visual Studio Code
Stars: ✭ 58 (-38.3%)
Mutual labels:  vscode-snippets, vscode-language
vscode-saltstack
SaltStack extension for Microsoft Visual Studio Code
Stars: ✭ 26 (-72.34%)
Mutual labels:  vscode-snippets, vscode-language
TcOpen
Application framework for industrial automation built on top of TwinCAT3 and .NET.
Stars: ✭ 187 (+98.94%)
Mutual labels:  plc, twincat3
VSCode-Bedrock-Development-Extension
An extension that provides support for files such as: .mcfunction, .json and .lang. Features include: completion, validations, formatters, diagnostics, cheat-sheets, code-actions, generation of files, and development tools to help develop Minecraft Bedrock Addons or Minecraft Education Edition.
Stars: ✭ 45 (-52.13%)
Mutual labels:  vscode-snippets, vscode-language
TcBlack
Opnionated code formatter for TwinCAT.
Stars: ✭ 67 (-28.72%)
Mutual labels:  plc, twincat3
TF6100 Samples
Contains product samples for TF6100 TC3 OPC UA
Stars: ✭ 15 (-84.04%)
Mutual labels:  plc, twincat3
TcUnit-Runner
Program that makes it possible to automate runs of TcUnit unit tests
Stars: ✭ 23 (-75.53%)
Mutual labels:  plc, twincat3
Clientserverproject
一个C-S模版,该模版由三部分的程序组成,一个服务端运行的程序,一个客户端运行的程序,还有一个公共的组件,实现了基础的账户管理功能,版本控制,软件升级,公告管理,消息群发,共享文件上传下载,批量文件传送功能。具体的操作方法见演示就行。本项目的一个目标是:提供一个基础的中小型系统的C-S框架,客户端有三种模式,无缝集成访问,winform版本,wpf版本,asp.net mvc版本,方便企业进行中小型系统的二次开发和个人学习。同时网络组件方便的支持读写三菱和西门子PLC的数据,详细见Readme
Stars: ✭ 873 (+828.72%)
Mutual labels:  plc
Homeautomation.codesys3
Home Automation system build in CoDeSys 3 with MQTT communication to any third party Home Automation software
Stars: ✭ 55 (-41.49%)
Mutual labels:  plc
Sharpscada
C# SCADA
Stars: ✭ 2,043 (+2073.4%)
Mutual labels:  plc
TwinRx
.NET library for connecting with Beckhoff TwinCAT PLC via Reactive Extensions (Rx)
Stars: ✭ 16 (-82.98%)
Mutual labels:  plc
Hslcommunication
An industrial IoT underlying architecture framework, focusing on the underlying technical communications and cross-platform, cross-language communication functions, to achieve a variety of mainstream PLC data reading and writing, to achieve modbus of various protocols read and write, and so on, to support the rapid construction of industrial upper computer software, configuration software, SCADA software, factory mes system, To help enterprise Industry 4.0 take-off, to achieve intelligent manufacturing, smart factory goals. The main PLC contains Siemens, Mitsubishi, Omron, Panasonic, Modbus, AB-PLC, Redis
Stars: ✭ 816 (+768.09%)
Mutual labels:  plc
Lecpserver
LECPServer 全称 Leanboard Equipment Communication Proxy Server 是一款基于 JLean 框架开发的高性能工业用组态服务软件,可以通过该组态软件,链接市面上90%的PLC,通过HTTP协议通联PLC的读写,使用户能够通过一个直观的用户界面来连接,管理,监视和控制不同的自动化设备和软件应用程序.
Stars: ✭ 147 (+56.38%)
Mutual labels:  plc
Isf
ISF(Industrial Control System Exploitation Framework),a exploitation framework based on Python
Stars: ✭ 690 (+634.04%)
Mutual labels:  plc
Icsmaster
ICS/SCADA Security Resource(整合工控安全相关资源)
Stars: ✭ 582 (+519.15%)
Mutual labels:  plc
Easymodbustcp.net
Modbus TCP, Modbus UDP and Modbus RTU client/server library for .NET implementations
Stars: ✭ 358 (+280.85%)
Mutual labels:  plc
grain-language-server
Grain support for Visual Studio Code
Stars: ✭ 22 (-76.6%)
Mutual labels:  vscode-language

License: MIT workflow Version Installs Ratings

Structured Text (IEC 61131-3)

Most complete Structured Text language support. Features includes:

  • Syntax highlights in *.st, *.iecst files
  • Syntax highlights in *.md (Markdown) files in iecst code block
  • Syntax highlights in *.xml files in <Declaration> and <ST> code block
  • Snippets (enter st to see list of all snippets)
  • Outline view
  • Breadcrumbs code navigation
  • Go to Symbol in File
  • Formatting (*beta)
  • Commands

Syntax Highlights

Includes syntax highlight based on IEC 61131-3 draft, including namespaces, SFC elements (STEP, ACTION, TRANSITION), constant variables (2#000_1010, 16#1E, INT#23) and more.

Structured Text syntax highlights example

Also highlight in Markdown files

Example

Snippets

Fast growing snippets library. All cycles, conditions and declarations.

Formatter (work in progress)

Utilize VS Code Formatter API. Use general formatting command short keys. It capitalize all known keywords like TRUE, FALSE, IF, BOOL, ... It also add spaces.

Note

Roadmap

  • LSP (Language Server Protocol)
  • Suggestions
  • Lints

Release Notes

1.12.12

  • fix - Extra spaces was added after tab or in front of the comment.
  • enhance - highlight Siemens SCL
  • add - (END_?)CONST, (END_?)ORGANIZATION_BLOCK, (END_?)DATA_BLOCK, (END_?)LABEL, BEGIN, COUNTER, VOID, NIL and GOTO keywords
  • add - support for PQ and PI in constants like %PQW10.0.

1.11.14

  • fix - highlight of names with _TO_ in it
  • fix - comment in comment highlight
  • fix - capitalization of s,h,m in T#***

1.11.2

  • fix - highlight for typed variables with - (INT#-100)
  • fix - highlight for typed variables with numeric constants (INT#16#10AE)

1.11.1

  • enhance - performance improve by using bundler
  • enhance - Format add spaces refactored performance and logic improvement.

1.10

  • fix - Format <> and ** correctly.
  • fix - Document format in strings fixed. Now formatting is not done in strings and comments.
  • improve - Formatting add spaces new conditions.
  • improve - Formatting. Add spaces in comments and other places like before := or after.
  • add - file extension *.TcDUT, *.TcPOU.
  • add- syntax highlights for comment attributes like (* @NESTEDCOMMENTS := 'Yes' *) generated by CoDeSys 2.3 in .EXP files.
  • add - Pragma attribute and message highlights like {attribute 'call_after_global_init_slot' := 'slot'} or {info 'TODO: should get another name'} supported in CoDeSys.
  • fix - lot of minor syntax highlight mistakes.
  • improve - syntax highlight was fully revised and improved a lot.

1.9

  • enhance - Outline now understand CONSTANT variables. Thanks to @msftrncs.
  • fix - VAR word break keyword parse issue. Thanks to @msftrncs.
  • fix - Some issues outline tree parse. Thanks to @msftrncs.
  • add - Formatting capitalization for all VAR_* keywords and __NEW and __DELETE
  • fix - one closed comment formatting as function #29
  • enhance - better snippets titles
  • enhance - better symbol navigation in outline and breadcrumbs. Thanks to @msftrncs.
  • add - Formatting capitalize time keys like t#10s to T#10S, ANY_* types

1.8

  • enhance - better snippets titles
  • add - support for UNION syntax
  • add - Highlight ST inside some XML files key.
  • change - enter st to see list of all snippets.
  • add - Highlight ST in Markdown files when use iecst key.
  • add - new icon :))
  • add - new formatting architecture that utilize VS Code formatting API.

1.7

  • add - syntax highlights keyword __TRY, __CATCH, __FINALY, __NEW, __DELETE, S=, R=
  • add - snippets fo __TRY, __CATCH, __FINALY, __NEW, __DELETE

Thanks to @nikvoronin

  • fix - syntax highlights keyword inside another word
  • fix - build document structure with block indented
  • add - outline for Structures and Enumerations
  • enhance - outline for other elements
  • enhance - right click commands now appear only in ST files

1.6

  • add - outline document structure
  • add - Go to symbol in file support
  • add - breadcrumbs

1.5.0

  • improve - function highlights. Now we Highlight all function either user defined or built in.
  • improve - variable declaration or STRUCT declaration section has got a lot of improvements. We highlight custom types now, and whole section looks much cleaner because scopes were changed.
  • improve - If you call for a method of a function block through dot my_fb.method() method is highlighted. We also highlight function block properties or parameters.
  • add - TODO or TODO: in comments attract an attention
  • add - Highlights for action modifiers myAction(DS, T#3s); where DS will be highlighted.
  • add - Highlights for names of parameters of function block.

1.4.0

I've learned few things about syntax highlights. Big refactoring. I added some missing keywords, changed some coloring scopes and improved coloring in general.

1.3.0

  • add - TYPE creation snippets (enumerations ans structure) and enhance it's syntax highlights
  • enhance - Select type out of suggestion list when inset variable in declaration area from snippet
  • enhance - Utilise October 2018 feature for multiple prefixes in snippets and add multiple prefixes to some snippets.
  • fix - syntax highlights for function_block
  • fix - Auto close comments /*. (*.
  • enhance - revision of highlights much better now.

1.2.0

  • fix - Insert END_VAR after VAR is inserted.
  • fix - highlights for WORD datatype.
  • fix - other minor changes
  • fix - Notification "This file not a structured text language!" #6
  • add - Command pallet Ctrl+Shift+P command ST: Format
  • add - same command context menu
  • add - user parameter st.autoFormat

All 3 make the same. Capitalize constants like TRUE, FALSE, EXIT and others. Right now only few. This is only proof of concept. Later we will add more beautifications.

1.1.0

  • add - a lot of different snippets
  • enhance - syntax highlight like function names, program and function definitions, etc..

1.0.0

  • fix - extensions metadata tags
  • add - new functions to support logi.CAD 3 reference variables.
  • enhance - auto indentations inside IF, PROGRAM, VAR, ...
  • fix - close [ bracket
  • add - region folding
  • improve - keywords case
  • improve - readme file
  • improve - syntax highlights scopes
  • add- few new snippets.
  • fix - some keywords highlight issue
  • add- new file extensions to support logi.CAD 3 projects.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].