> * call tips: those are the little popups that appear with the function 
> signature or similar e.g. when typing the opening parenthesis after the 
> function name.

Just do add: for example try typing `printf(` in a C source file: you'll get 
the cllatip to show.
However, it seems the colors are only used if the 3rd (for foreground) and 4th 
(for background) fields are set to true. Seems on purpose.

> * `label`: I don't know, but you then could look where it's used: check 
> filetypes configuration files and see where it's used. I can try and do that 
> next time I have an easy access.

OK, so this is what it's used for:
```console
$ git grep '=\W*label' data/filedefs/
data/filedefs/filetypes.ada:label=label
data/filedefs/filetypes.batch:label=label
data/filedefs/filetypes.freebasic:label=label
data/filedefs/filetypes.lua:label=label
data/filedefs/filetypes.makefile:target=label
data/filedefs/filetypes.nsis:label=label
```

This is notably Makefiles targets, and Lua's labels.

> * `decorator`: same as above, but I believe its used for e.g. Python 
> decorators (e.g. the `@something` before function definitions)

That is it, and it's also used for Dart metadata, which looks similar to 
Python's decorators, at least in syntax.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/discussions/4381#discussioncomment-13833590
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/repo-discussions/4381/comments/13833...@github.com>

Reply via email to