sublime icon indicating copy to clipboard operation
sublime copied to clipboard

YAML files

Open ghost opened this issue 1 year ago • 3 comments

If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug. Looking at YAML files, all the text is yellow. Uploading Screenshot 2024-03-19 at 19.13.12.png…

ghost avatar Mar 19 '24 18:03 ghost

Came here to report the same thing:

Screenshot from 2025-01-08 08-06-10

fmatter avatar Jan 08 '25 07:01 fmatter

+1

leohidalgo avatar Feb 08 '25 19:02 leohidalgo

I improved the syntax highlighting with an additional rule (in Preferences > Customize Color Theme):

{
	"scope": "entity.name.tag.yaml",
	"foreground": "#FF80BF"
}

This at least makes the tag names stand out: Image

It's also possible to use the following generic rule, which would apply to all keys from key-value pairs (e.g. JSON):

{
	"scope": "meta.mapping.key string",
	"foreground": "#FF80BF"
}

Image

Zoopa avatar Mar 20 '25 09:03 Zoopa