Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt CSS Corrector for my application
GeminiMan last edited by
Hello I managed to create a Css editor but what I'm missing it is the syntax error detector as it helps the user and show which line there is an error and what is the problem as in the visual code.
Do you have an idea or an example on Qt or a library like that i will have a idea about how it works.
AFAIK, KTextEditor is what you are looking for.
GeminiMan last edited by GeminiMan
No what i want is create a simple CSS Lint for my application, it contain TExtEdit as codeEditor. do you have any idea how can i analys the code and show the warning, and errors. or a lib which i cant just set my codeEditor in parameter for example :
QStringList getCSSLint(const QTextEdit &); // return all warning and errors.
what i want an open source lint lib to understand how to create that for Css
JonB last edited by
Even if there is some public, open source CSS parser it won't be right/useful for Qt's QSS/CSS, which is a particular "subset" of its own.
Qt does not expose its QSS/parser publicly. You would have to access (compile for yourself) its implementation. The relevant file is
The search for LSP (language server protocol). The Kate editor has a plugin for KTextEditor.