Comments (4)
Hi!
Not sure if this is the right place to ask but I fiddled around a bit with the formatter and I couldn't seem to get the formatting to work on the implementation parts of the POUs.
I tried to format the .plcproj as well as the .TcPOUs by themselves and I tried all command combinations as well as different directories.
Not quite sure if there's anything I'm missing here as I didn't get any error messages.
I've attached a copy of the .TcPOU that I've tried on.
from tcblack.
Hi @Doctornunu. Formatting of the implementation part of the POU is not implemented yet. It is planned for a future milestone. See also #40.
from tcblack.
Oh, I was under the impression that this wasn't the case for "programs" / POUs. I interpreted this quote from the manual as it was only the case for function blocks, functions etc :
Note: Currently TcBlack only formats the declaration part of function blocks, functions, methods, properties and interfaces. Formatting of the implementation is planned for a future release.
Thanks for the answer though, I would love to contribute to the project once (or if) I get .NET + C# running properly in VSCode.
from tcblack.
Thanks for noting that! I've changed it now.
from tcblack.
Related Issues (20)
- Do not remove spaces from strings in FB_init of a function block
- How to insert a tab in windows command prompt when you want to use tabs for indentation
- Visual Studio Development Tools Environment (DTE) build method is slower than devenv solution HOT 2
- GUI/Integration into Visual Studio for TcBlack HOT 3
- Add undo functionality to TcBlackExtension HOT 2
- Replace complex regex in Tokenize
- File shouldn't have to be saved before doing a format
- TcBlackCore can not be build HOT 5
- VSIX support for VS2019 HOT 2
- Only run pipeline when there are changes in src folder HOT 1
- Pipeline should notify in case of static code analyses warnings HOT 1
- Seperate pipeline into a build and test part
- Remove assembly signing HOT 5
- Also include TcBlackExtension in build pipeline
- VAR CONSTANT, VAR PERSISTENT and VAR RETAIN not recognized
- Use 2 spaces between code and comment HOT 1
- Assignment := is placed after array of pointers
- Extra AT inserted for AT%Q* if there is no space behind AT
- Add auto formatter for C# code HOT 2
- Use external parser
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 tcblack.