Why do you want to ignore template syntax - it is an integral part of the template.

DavidRemember: You only know what you know and - you don't know what you don't know!My CDB Contributions | How to install an extensionI will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.No support requests via PM or email as they will be ignored

Why do you want to ignore template syntax - it is an integral part of the template.

Sorry for my bad English, I mean that the IDE ignores the syntax of the templates, not me.
I use template syntax and each time I spend tons of time understanding unformatted code.
I'm very upset with the lack of any tools, but in any case, thanks for the answer

and what is hard about reading the code in the format you posted in the first box?

I find it easier to read than the other way. at least you don't have to scroll sideways as much.

robert

I break lines every time when i exceed 120 symbols per line, so any screen can display all line without sideway scroll.
But when you read conditional block you need to remember all of condtitionals, where it starts and where it ends.
Besides, space formatting conditional block is industry standard of code style.
You can remove all gaps from start of every line in for example PHP code and say that is fantastic useful and human-readable,
your team can deal with it, but that means nothing when you see tears of new devepoler in your crew.

There are not any tools because the phpBB pages are all generated dynamically, using the data in the database. Your "tool" would have to run all of the PHP scripts to generate the page. It is simpler just to browse to it and let the phpBB code do all the work.

Brf, I think you're missing one part: the OP is talking about working as a style developer, adapting and changing style files.
As a developer, it is a big advantage to have proper formatted code in your editor.
For automatic code formatting, it is bad that phpBB-template syntax is written as html comments, so commands following conditionals like IF, ELSE are not indented as in "normal" code.

Maybe if the OP would switch to TWIG syntax when creating styles - TWIG is commonly used an often available as a code highlighter for editors.

But when you read conditional block you need to remember all of condtitionals, where it starts and where it ends.
Besides, space formatting conditional block is industry standard of code style.
You can remove all gaps from start of every line in for example PHP code and say that is fantastic useful and human-readable,
your team can deal with it, but that means nothing when you see tears of new devepoler in your crew.

As a developer, it is a big advantage to have proper formatted code in your editor.
For automatic code formatting, it is bad that phpBB-template syntax is written as html comments, so commands following conditionals like IF, ELSE are not indented as in "normal" code.

Maybe if the OP would switch to TWIG syntax when creating styles - TWIG is commonly used an often available as a code highlighter for editors.

Also bear in mind that phpBB templates will be moving over to Twig syntax

DavidRemember: You only know what you know and - you don't know what you don't know!My CDB Contributions | How to install an extensionI will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.No support requests via PM or email as they will be ignored