All notable changes to the "st" extension will be documented in this file.
- add GX Works Devices syntax support
- add GX Works instructions syntax highlights
- add
PROPERTY
with SET and GET and snippet - add
METHOD
snippet - add -
CLASS ... END_CLASS
keywords and snippet
- fix - highlight of names with
_TO_
in it - fix - comment in comment highlight
- fix - capitalization of s,h,m in
T#***
- fix - Extra spaces was added after tab or in front of the comment.
- add -
VAR_INST
andVAR_STAT
support - enhance - highlight Siemens SCL
- add -
(END_?)CONST
,(END_?)ORGANIZATION_BLOCK
,(END_?)DATA_BLOCK
,(END_?)LABEL
,BEGIN
,COUNTER
,VOID
,NIL
andGOTO
keywords - add - support for
PQ
andPI
in constants like%PQW10.0
.
- add -
- fix - highlight for typed variables with - (
INT#-100
) - fix - highlight for typed variables with numeric constants (
INT#16#10AE
)
- enhance - performance improve by using bundler
- enhance - Format add spaces refactored performance and logic improvement.
- 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.
- 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
toT#10S
,ANY_*
types
- 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.
- 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
- add - outline document structure
- add - Go to symbol in file support
- add - breadcrumbs
- 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.
I've learned few things about syntax highlights. Big refactoring. I added some missing keywords, changed some coloring scopes and improved coloring in general.
- 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
More stable version
- fix - Auto close comments
/*
.(*
. - enhance - revision of highlights much better now.
- fix - Insert
END_VAR
afterVAR
is inserted. - fix - highlights for
WORD
datatype. - fix - other minor changes
- fix - Notification "This file not a structured text language!" #6
Big step forward. Now it is not only language configuration it is JS code that can enhance codding experience.
- add - Command pallet
Ctrl+Shift+P
commandST: 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.
- add - a lot of different snippets
- enhance - syntax highlight like function names, program and function definitions, etc..
- 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.
- add - Syntax highlights
- add - Some snippets