SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Create a new html file 123.html 2. type <head> 3. No autocompletion of words, no auto closure for brackets and no indentation OBSERVED RESULT No autocompletion of words, no auto closure for brackets and no indentation EXPECTED RESULT Autocompletion of words, auto brackets closure and the entries after a tag like <div> should be properly indented SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: 5.24.5 (available in About System) KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93 Qt Version: ADDITIONAL INFORMATION
Hm, just tried as described - Ctrl-N - Ctrl-S (saved as /tmp/123.html) - typed <head> (shown in bold) KDE Frameworks Version 5.94.0
After update syntax highlighting works fine, but indentation and auto complete is not working as expected. Detailed below Set indentation to 'Normal' from settings 1. Create an new file and save as 123.html 2. type <html> and press enter. 3. As per configuration when '<' is typed the closing brackets should be auto closed with '>' but kwrite is not closing the brackets, but {,( ,[ works fine. As the file is an html file <html> tag should be auto completed with </html>,but not working in kwrite, infact kwrite is not closing any of the html keywords. Regarding indentation after <html> the next line should be properly indented (usually with tab) but instead kwrite begins from the very start of next line (The indentation works fine if we select XML from the indentation in KWrite settings)
> As per configuration when '<' is typed the closing brackets should be auto closed with '>' These angle brackets are not handled as the other ones. That would cause to much hassle in most other cases, e.g. working on code like "if foo < bar". IIRC I had made a patch on phabricator some time ago which was rejected (must agree right decision). To the other mentioned issues I can't say much. But there is a plugin XML Completion. With that you can close open tags by Ctrl+< For the rest of your issues I suggest you close this one and open a new, or change the topic of this report :-)