Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it easily possible to change the colours for certain file associations? #2143

Open
rubyFeedback opened this issue May 6, 2019 · 2 comments
Labels

Comments

@rubyFeedback
Copy link

I am used to green font; light red colouring, middle-gold colour
for modules/classes and greyish for comments. Is there a way to
easily define this for .rb files but also some other files? Or
does it require some ctag-manipulation or anything complicated?

I will probably adjust to the geany-defaults, because geany is
(objectively) a better editor at this point for me, but I'd love
to see some kind of resemblance to the colours I used to use
for many years.

Thanks!

PS: If this is a feature request, I am not sure if it can be changed
easily, but for comparison, the nano editor uses a fairly simple
format for modifying your .rc files.

For example:

color white "^ (set|unset).$"
color cyan "^ *(set|unset) (autoindent|backup|const|cut|fill|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|q

I am not necessarily suggesting the same for geany, also because it
is quite an ugly format - but the good thing is that it is a simple
text format. I could even autogenerate these files but not sure if
this is possible for geany; last time I read up about this it looked a
bit complex to get support via different colours. Or perhaps there
may be some option where this could be changed on an ad-hoc
basis ... haven't found this yet though.

Geany is pretty good as-is though. The issues I have in general are
really really minor, compared to the net-benefits of using geany so
far.

@elextr elextr added the question label May 6, 2019
@elextr
Copy link
Member

elextr commented May 6, 2019

The colouring for syntactic entities is defined by the colour scheme, some contributed ones have been collected here which you can modify or make your own totally.

@lpaulsen93
Copy link
Contributor

@rubyFeedback: do you have more questions? can we close this?

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

No branches or pull requests

3 participants