We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

[Implemented in 1406 update] SDK [1404 update]: provide .yaml and .spec syntax highlight definitions [released]

asked 2014-04-17 17:23:47 +0300

donaggio gravatar image

updated 2014-11-19 14:36:37 +0300

eric gravatar image

With 1404 SDK update YAML editor has been removed. YAML files are opened as plain txt files, which is just fine. I know that adding syntax highlight definitions for YAML is trivial (Tools -> Options -> Text Editor -> Generic Highlighter -> Download defintions), but as .yaml (and .spec, to some extent) files are an integral part of a SailfishOS developer's experience can you provide syntax highlight definitions for those file formats out-of-the-box?

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by donaggio
close date 2014-06-13 15:20:02.323983

1 Answer

Sort by » oldest newest most voted
2

answered 2014-04-17 17:54:34 +0300

kaltsi gravatar image

The spec file is already now highlighted, isn't it? I will add the yaml highlighter into the next update to Qt Creator.

edit flag offensive delete publish link more

Comments

No, it is not: opening a .spec file says "A highlight definition was not found for this file..."

donaggio ( 2014-04-17 17:58:59 +0300 )edit
1

Hmm for me it doesn't say that,..

ahaa I have this directory in my host machine (/usr/share/kde4/apps/katepart/syntax) and Qt Creator looks there to find the highlighter for spec files on my machine. Ok will add the spec highlighter next time too :)

kaltsi ( 2014-04-17 18:01:15 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-04-17 17:23:47 +0300

Seen: 240 times

Last updated: Jun 13 '14