rcanedu / stvscode Goto Github PK
View Code? Open in Web Editor NEWThe Visual Studio Code extension for Structured Text support
Home Page: https://marketplace.visualstudio.com/items?itemName=rcanedu.st
License: MIT License
The Visual Studio Code extension for Structured Text support
Home Page: https://marketplace.visualstudio.com/items?itemName=rcanedu.st
License: MIT License
In the below example, one of the functions doesn't color or scope as a function, but I don't see any reason for this.
IF Engine_OilPres_kPa >= 65534 THEN
EngineOilPresMsg := SEL( Engine_OilPres_kPa = 65534, '*N/A*', '*ERR*' );
ELSIF DisplayUnits_Mgr.EngUnits = 1 THEN
EngineOilPresMsg := DWORD_kPa_TO_STRING_kPa( Engine_OilPres_kPa );
ELSE
EngineOilPresMsg := DWORD_kPa_TO_STRING_bar_2d( Engine_OilPres_kPa );
(* ELSE
EngineOilPresMsg := SEL( DisplayUnits_Mgr.EngUnits = 1, DWORD_kPa_TO_STRING_bar_2d( Engine_OilPres_kPa ), DWORD_kPa_TO_STRING_kPa( Engine_OilPres_kPa ) ); *) (* Doesn't Work! causes access violation *)
END_IF
(* EngineOilPresMsg := SEL( Engine_OilPres_kPa >= 65534, SEL( DisplayUnits_Mgr.EngUnits = 1, DWORD_kPa_TO_STRING_bar_2d( Engine_OilPres_kPa ), DWORD_kPa_TO_STRING_kPa( Engine_OilPres_kPa ) ), SEL( Engine_OilPres_kPa = 65534, '*N/A*', '*ERR*' ) );*)
It is consistent. everywhere that function is used (uncomment the commented lines) it scopes the same.
Need to add the ability of time highlighting, like this: t#3s, t#5h59m59s999ms
Correct me if I'm wrong, but I think ELSEIF is spelled ELSIF in ST
I have a directory full of .st files, and Intellisense isn't working across files. It works within the same file, but isn't pulling from other files correctly. Is there something special I need to do to make it work, or is it just not setup to do that?
You confuse people. In the README you have
- Code Linting
- Auto indenting
- Code formatting
- Intellisense
- Snippets
So your description is deceiving on all 5 points. Totally unacceptable.
Hello.
I know you archived this project and recommend using mine extension instead. Thank you for your trust. I constantly work on it and add new features always.
I have one request though. When people search extensions in VS Code and open your extension, they do not see that message. Because, although you modify README.md
, to make it visible you must publish new version of extension with vsce puplish
.
Could you please do it, because not many people navigate to GitHub repository and actually do not know that you archived your extension.
Maybe It may make sense to realize the possibility of converting a project into single .exp file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.