In filetype_extensions.conf the line (notice `*rc`)
`Conf=*.conf;*.ini;config;*rc;*.cfg;*.desktop;*.properties;`
overwrites (notice `.bashrc`)
`Sh=PKGBUILD;*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;.bashrc;bash.bashrc;.bash_*;bash_*;*.m4;PKGBUILD;*profile;`
and therefore .bashrc is detected as being a Config file instead of a bash script.
--
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/1499
I have a large number of files that are 99% JavaScript, but are processed by .Net code before they're served, so have a couple of lines of C# at the top. I've given them all filenames of the form *.js.aspx but when I try to use that in filetype_extensions.conf it has no effect and they're still considered to be XML files (per an earlier line in that file). The filetype_extensions.conf file contains this:
```
[Extensions]
XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd;*.xhtml;*.aspx;
Javascript=*.js;*.js.aspx;
```
It appears to me that Geany only recognises simple file extensions (i.e. just the bit after the last dot in the filename) rather than allowing for anything more complex. It would be great if this could be extended to support multi-part file extensions that include more than one dot.
Output from `geany -V` running on Ubuntu Mate 18.04.
`geany 1.32 (built on 2018-01-08 with GTK 3.22.26, GLib 2.54.1)`
--
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/1921
Note: Depends on #2166.
Longer filename patterns in `filetype_extensions.conf` are more specific, so they should override shorter patterns.
* Fixes #1921 - `*.js.aspx` should override `*.aspx`.
* Fixes #1499 - `.bashrc` should override `*rc`.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2167
-- Commit Summary --
* Kill filetypes_find(), rename static function
* Always allow user filetype extensions to override system config file
* Let longest filename pattern win
-- File Changes --
M src/filetypes.c (62)
M src/filetypes.h (3)
M src/filetypesprivate.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/2167.patchhttps://github.com/geany/geany/pull/2167.diff
--
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/pull/2167
In large C files I use bookmarks to organize code in sections marked by conments that describe what the cose does.
Lately I started to write such comments in markdown, so that I get something similar to literate haskell but in C.
However the bookmarks set at the beginning of each section are not preserved when I get changes from the git repository that other colleagues committed.
Given that these bookmarks are always marked by a new markdown header in a comment I'd like to have them automatically detected on file open.
That is: if the line match a regex, but a bookmark there.
--
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-plugins/issues/654
It would be awesome, if the plugin offer a way to delete every n line. I've got regular cases were I need to delete just every second line and somehow I miss this feature. Example:
```
line 1
line 2
line 3
line 4
line 5
```
would become
```
line 1
line 3
line 5
```
--
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-plugins/issues/772
Scope automatically evaluates an expression if the mouse pointer is hovered over it. But before this change it only evaluated words. E.g. if the mouse was hovered over ```structa->item1``` then scope would have evaluated ```structa``` or ```itemb``` depending on the exact position of the mouse pointer. With this change it will instead evaluate the value of ```structa->item1```.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/823
-- Commit Summary --
* scope: Improved evaluation on-hover
-- File Changes --
M scope/src/tooltip.c (5)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/823.patchhttps://github.com/geany/geany-plugins/pull/823.diff
--
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-plugins/pull/823
The following sequence of actions crashes Geany:
1. start debugging a program with the scope plugin
1. wait for a breakpoint
1. in the message window select _"Debug"_ and then select tab _"Locals"_
1. right click inside the tab to show the context menu, select _"Refresh"_
1. Geany crashes (not always but often)
Remark: the crash does not occur if the user first left clicks into the _"Locals"_ tab content area before selecting _"Refresh"_.
--
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-plugins/issues/824