I use newest git version geany, the auto-close plugin is in repo of ubuntu 22.04 one. When I press `{`, it come out `{}}`. same with `[` and `(`. Of couse I disabled auto-close functions in Preferences. It seems auto-close plugin no update for 3 years.
Works for me, I don't know what is included in Ubuntu, the Geany project does not make distro packages.
I only get one close no matter if the built-in completion is on or off so long as the "Suppress double completion" option is set in the plugin preferences.
There probably has been no update simply because it does what the plugin owner wants? So it doesn't need changes.
To me, "Suppress double completion" option had been checked. So I also need compile pugins repo. If I can only compile serveral plugins I used? I don't want compile the whole geany-plugins repo.
Do you know what version the one in Ubuntu 22.04 is? AFAICT autoclose hasn't changed since the 1.36 release, so if its newer compiling won't help.
If you do want to compile from git you can configure with `--disable-all-plugins --enable-autoclose` to only build autoclose, see the readme.
Since no advance from git version, I had manually removed the git version which installed by `ninja`, and install `geany` from repo now. Here is some detail version and etc.
``` ⭕ type pfi pfi is aliased to `apt list --installed'
⭕ pfi geany-plugin* Listing... Done geany-plugin-autoclose/jammy,now 1.38+dfsg-1 amd64 [installed] geany-plugin-automark/jammy,now 1.38+dfsg-1 amd64 [installed] geany-plugin-git-changebar/jammy,now 1.38+dfsg-1 amd64 [installed] geany-plugin-vc/jammy,now 1.38+dfsg-1 amd64 [installed] geany-plugins-common/jammy,now 1.38+dfsg-1 amd64 [installed,automatic]
⭕ pfi geany* Listing... Done geany/jammy,now 1.38-1 amd64 [installed]
⭕ pinfo geany Package: geany Version: 1.38-1 Priority: optional Section: universe/devel Origin: Ubuntu Maintainer: Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com Original-Maintainer: Geany Packaging Team pkg-geany-team@lists.alioth.debian.org Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 3339 kB Provides: geany-abi-18432, geany-api-240 Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.34), libcairo2 (>= 1.8.0), libgcc-s1 (>= 3.3.1), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.63.1), libgtk-3-0 (>= 3.21.5), libpango-1.0-0 (>= 1.20.0), libpangocairo-1.0-0 (>= 1.14.0), libstdc++6 (>= 11), geany-common (= 1.38-1) Recommends: sensible-utils Suggests: libvte9, doc-base Breaks: geany-plugins-common (<< 0.21)
``` ![截图 2022-05-08 14-42-54](https://user-images.githubusercontent.com/700793/167285331-a60b9fe2-c9be-45f...)
Maybe this issue also comes from "over" translate? Eg. `『} 【] () “" ‘'` each auto close, the first character is an Chinese Bracket/Quota Character, It not need to be auto closed. There is hexdump result, `xclip -o` hold the string above. ``` ⭕ xclip -o|hexdump -d 0000000 32995 32142 58144 36992 08285 48367 10632 57888 0000010 40064 08226 32994 10136 0000018 ```
github-comments@lists.geany.org