Bug 488404 - Add HTML/CSS Validation
Summary: Add HTML/CSS Validation
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 09:09 UTC by korwin
Modified: 2024-08-02 07:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
htmltidy (34.38 KB, image/png)
2024-08-02 07:33 UTC, Waqar Ahmed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description korwin 2024-06-12 09:09:13 UTC
§ SUMMARY

"The process of checking that the code is in compliance with the standards and recommendations set by the World Wide Web Consortium (W3C) for the web".

Implementation example:

"When opening a document in Code view, %appname% automatically validates that the document is not using any tags, attributes, CSS properties, or CSS values that are not available in the target browsers that the user selected. %appname% underlines errors (...)".

About Code validation — https://helpx.adobe.com/dreamweaver/extend/code-validation.html

§ STEPS TO REPRODUCE

1. Right-click on any panel and select "Configure Toolbars"
2. Enter the word "validat" or "linting" in the Filter field of the Available actions block

§ OBSERVED RESULT

The list of suggested functions is empty.

§ EXPECTED RESULT

I expect Kate to include HTML/CSS code checking at the level of applications such as Dreamweaver, oXygenXML Editor, Bluefish, SeaMonkey Composer, Codelobster, CoffeeCup HTML Editor, HTML-Kit, TOWeb, Arachnophilia, EZGenerator or Bootstrap Studio.

§ SOFTWARE/OS VERSIONS

Windows: 10.0.19045.4474
KDE Frameworks Version: 6.3.0
Qt Version: 6.71 (built against 6.7.1)
Comment 1 Waqar Ahmed 2024-08-02 07:33:08 UTC
We have htmltidy integeration in the project plugin. See the screenshot.

Alternatively use a language server for html or css. It will provide you with a lot of functionality in addition to validation.
Comment 2 Waqar Ahmed 2024-08-02 07:33:42 UTC
Created attachment 172203 [details]
htmltidy
Comment 3 Waqar Ahmed 2024-08-02 07:34:58 UTC
See https://www.npmjs.com/package/@bmewburn/vscode-html-languageserver

and our LSP plugin which integerates with the server