Qt Creator QSS Syntax Highlighting Support
-
wrote on 18 Sept 2019, 17:03 last edited by
-
Qt Creator does not support highlighting of QSS code. I guess the best way to "enable" it is to write the highlighter and commit it to Qt Creator repository.
As a cheap workaround you could use Kate or Gedit to edit QSS, they do have some highlighting support for QSS.
-
Qt Creator does not support highlighting of QSS code. I guess the best way to "enable" it is to write the highlighter and commit it to Qt Creator repository.
As a cheap workaround you could use Kate or Gedit to edit QSS, they do have some highlighting support for QSS.
@sierdzio said in Qt Creator QSS Syntax Highlighting Support:
As a cheap workaround you could use Kate or Gedit to edit QSS, they do have some highlighting support for QSS.
But if Kate can do it, QtCreator should be able too. The Generic Highlighter is base on Kate's engine: https://doc.qt.io/qtcreator/creator-highlighting.html#generic-highlighting
-
Yes, it should. Since OP mentioned modifying MIMEs I assumed Kate files did not work or not well enough (even in Kate I get only very very basic highlighting for QSS).
2/4