Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Dim [Version ...]'s? #16

Open
peteruithoven opened this issue Jun 19, 2019 · 1 comment
Open

Dim [Version ...]'s? #16

peteruithoven opened this issue Jun 19, 2019 · 1 comment

Comments

@peteruithoven
Copy link

peteruithoven commented Jun 19, 2019

I'm not sure this is the right "level" to tackle this issue, please let me know if it's not.
In .vapi files you can have a lot of [Version ...] codes, which I think are usually a bit less important than the other code. They can make vapi files quite hard to read when there are a lot fo them. One example:

https://github.com/elementary/gala/blob/1024813560668152814a72fd93dc6a93b226eb04/vapi/mutter-clutter-1.0.vapi#L4715-L4730

Would there be a way to slightly dim (visually less important) these [Version ...] codes? A bit like what happens with comments for example?

@thiagojedi
Copy link
Owner

Hallo, @peteruithoven . Thanks for your input.

I don't think I can force the editor to dim those lines, but I agree with you that they make the file look visually heavy.

I can mark then as some special token, that way it can be colored differently. I cannot guarantee the color themes will show them dimmed, though. I'll look at the colorization for other languages to see how they handle this kind of construct.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants