A better way of doing this would be using a language server for which @techee has an implementation at geany-lsp that uses clangd (and pyls and gopls).

The LSP protocol allows for semantic tokens for "functions" but its not enabled yet since it is not an existing feature in Geany, only colourising the "types" is used but it works well.

If "somebody" contributed the code to support function semantic tokens in Geany-lsp it would probably work if clangd supports it. Vscode is able to colourise function names correctly because it uses a MS version of clangd.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/1231/1868129077@github.com>