Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?

share|improve this question
    
I still haven't found anything for gedit, but it's worth mentioning that there is QML highlighting for Sublime Text 2/3: sublime.wbond.net/packages/QML –  andrewsomething Sep 5 '13 at 20:09
add comment

1 Answer 1

I know this doesn't directly answer your question, but there are several other editors that do support QML syntax.

The best option in my opinion is to use Qt Creator's (the Ubuntu SDK application) editor component. In addition to QML syntax highlighting, it also as context-sensitive completion.

Qt Creator's editor component

On the other hand, if all you want is a simple text editor that offers QML syntax highlighting, KDE's Kate is a good solution that I use. While it doesn't integrate perfectly with Unity, it still is a nice editor.

Kate

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.