| Summary: | There is no PHP(HTML) files own indentation | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Rafael Linux User <rafael.linux.user> |
| Component: | indentation | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | wishlist | CC: | ilmari.lauhakangas, rafael.linux.user |
| Priority: | NOR | Keywords: | triaged |
| Version First Reported In: | 3.14.3 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Could not reproduce. Please test with the latest version. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.23.0 Qt 5.7 xcb wm Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |
When an php(html) file contains PHP html - php code, like in: <style type="text/css"> #menu > ul > li[tipo-usuario~="<?php echo $_SESSION['admin']?>"] { display:block; } </style> There is no option to apply a correct indentation to code. The nearest way is to apply "XML" indentation, but the result is not the best, cause Kate adds one level more of indentation after he finds a php end tag ("?>"). Will you include a new indent for PHP(html) files? Thank you Reproducible: Always Steps to Reproduce: 1.Edit a php(html) file 2.Select "XML" indent 3.Cut all code 4.Paste all code Actual Results: Each "?>" tag increases one indent level the text below that tag position. Expected Results: To take into account "<?php" and "?>" tags (obviously, is not XML, so is not a solution.