Comments (2)
Ok, didn't know that. We're working in OpenPCS from Kollmorgen/infoteam Software that only supports what seems like the first edition of the standard.
Since I can use comment blocks for lines as well I guess it's not worth it to add this as a configurable option. I'll close the ticket.
from vscode-st.
FYI
All following is valid according to the latest:
Single line comments:
m:= 42; // comment for one line
// a single line comment can start at
// the first character position.
Multiline comments
(* comment *)
(***************************
Nice frame comment
****************************)
Multi-line comment /* … */
/* comment in one
or more lines */
Nested comment (* .. (* .. ) ..)
(* (* NESTING *) *)
Nested comment /* .. /* .. */ .. */
/* /* NESTING */ */
in other words:
MULTI_LINE_COMMENT
: ('(*' | '/*') .*? ('*)' | '*/')
;
SINGLE_LINE_COMMENT
: '//' ~[\r\n]*
;
from vscode-st.
Related Issues (20)
- view Twincat *.TcPOU, *.TcDUT, etc... HOT 3
- Suggestion, split view is VS code HOT 5
- Using formatter issue HOT 5
- Issue with ** HOT 7
- Incorrect semicolon position in REPEAT template HOT 1
- Need a Linter in this extension HOT 26
- Add support for lowercase keywords HOT 5
- Formatter adds spaces at the wrong places HOT 1
- Variable with name containing TO is interpreted as a function HOT 6
- Duration literals should be in small letters HOT 1
- Nested comment and Syntax highlighting /coloring. HOT 5
- How to integrate into Visual Studio HOT 4
- Formatting - typo and extra features HOT 7
- END_PROPERTY, SET, GET ?? HOT 6
- Exclude files/directories from st language support HOT 5
- Support for CLASS .. END_CLASS HOT 3
- Add Support for .AWL extension HOT 2
- Add option in extension configuration to change or add supported extensions HOT 2
- Add option to disable auto-formatting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-st.