Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-21 Thread abdulbadii
Closed #2694. -- 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/2694#event-4134404724

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread elextr
As I said above `The order is that of an internal filetype list` which is not in `filetype.extensions` order. -- 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/2694#issuecomment-748712426

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread abdulbadii
it's bit buggy even after move Sh line to precede *rc then it'd resist to work unless clear that *rc -- 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/2694#issuecomment-748711953

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread elextr
Yup `.bashrc` matches conf's `*rc` pattern and that happens to be found before shell. (The order is that of an internal filetype list) If more than one pattern matches its undetermined which will be found. -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread abdulbadii
after reset bar; filetype: conf ![Screen bashrc](https://user-images.githubusercontent.com/25836673/102726260-d3cf7d00-434f-11eb-9fbf-ae633a15a3a2.png) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread Matthew Brush
Add code block around above paste and removed `\` from in front of the comment lines. Probably better to paste your exact file in between the `ini` code block I added. To me it looks like it's detecting as shell script (though can't be sure, as @elextr said, your screenshots don't show the

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread abdulbadii
NOT ME MARKDOWN MAKE IT MISSING -- 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/2694#issuecomment-748680170

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread elextr
Your `filetype_extensions.conf` is missing all the `*`s. -- 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/2694#issuecomment-748650987

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread abdulbadii
![Screen bashrc](https://user-images.githubusercontent.com/25836673/102716242-318ea580-430d-11eb-8d62-57d4abb5fc82.png) ![Screen sh](https://user-images.githubusercontent.com/25836673/102716256-4703cf80-430d-11eb-9240-a5012ed7623e.png) On **MX debian** `filetype_extensions.conf` # Filetype

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread Frank Lanitz
Not sure whether your distri did patch that file or some local configuration is conflicting... .bashrc should already be recognized as Sh -- https://github.com/geany/geany/blob/master/data/filetype_extensions.conf#L67 -- and this is working at least here. Would you mind double checking? --

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread abdulbadii
not work, even after make it up one in `~/.config/geany` (previously nothing there a `filetype_extensions.conf`) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread elextr
`Menu->tools->Configuration Files->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/2694#issuecomment-748580171

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread abdulbadii
Apologize, I've been using it of debian mainstream so won't work as there's no such file from debian Any idea how to a simplest solution? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread Matthew Brush
This is the default behaviour so it should work automatically, [see here](https://github.com/geany/geany/blob/d2740f21feb84b6f951398c6f683674b2b56bfed/data/filetype_extensions.conf#L67). Documentation [is here](https://www.geany.org/manual/current/index.html#filetype-extensions) -- You are

[Github-comments] [geany/geany] How to have a filename extension recognized as another (#2694)

2020-12-20 Thread abdulbadii
How to have a filename extension recognized as another, real case requires: .bashrc must be recognized/treated as .sh filename extension thanks before -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: