Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread codinghedgehog-python
Closed #2558.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#event-3578803749

Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread codinghedgehog-python
That was it ! I didn't. :D  It's working now.
Thank you `elextr` for helping me sorting this out !

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#issuecomment-662867055

Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread elextr
Did you uncomment the `[Extensions]` section head as well?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#issuecomment-662865976

Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread codinghedgehog-python
Yeah, I've thought of that before I replied to you. But no change. With or 
without the hash sign.
Take a look here and here Use 
`geany` as a password for both.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#issuecomment-662863327

Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread elextr
no, the #~ is a comment, need to remove it to make it work

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#issuecomment-662857746

Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread codinghedgehog-python
OK, wrong file.
So I'm in `filetype_extensions.conf` file and my line with Javascript looks 
like this:

`#~ Javascript=*.js;*.jsx;`

That isn't correct, is it ? The highlighting isn't kicking in after restart.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#issuecomment-662853721

Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread elextr
Oh, want to know what you missed? :grin:

You are editing the wrong file, to say that `.jsx` is to be treated as js add 
it to the list for javascript in `filetype_extensions.conf`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#issuecomment-662846625

Re: [Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread elextr
Yep :grin:

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558#issuecomment-662846005

[Github-comments] [geany/geany] [Question] Adding filetype to config (#2558)

2020-07-23 Thread codinghedgehog-python
>From the docs I understand I can override what syntax highlighting will be 
>used on particular filetype.
In my case I'm trying to add `.jsx` extension to `extension=js` within `tools 
=> configuration files => filetype configuration => scripting languages => 
javascript`
The docs indicate that I need to separate the filetypes with semicolon thus it 
should look like this  `extension=js;jsx`.
The docs say I need to restart Geany for it to take an effect. No change 
though. Am I missing something here ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2558