# Bracketcolors plugin
- Color { }, [ ], ( ) based on nesting order to make it easier to see the start/end bracket - Ignore brackets in non source code (strings, comments, doc strings, etc.) - Language agnostic
## How it works
Allocates 3 indicators (starting at `INDICATOR_IME` - 3) to color each bracket pair as determined by `SCI_BRACEMATCH`. Ignore non source brackets as determined by `highlighting_is_code_style`
## Dependencies
- Geany 1.38 - Need `INDICATOR_IME` from updated scintilla release - C++17 - Mainly for `std::map`
### Demo <img width="290" alt="image" src="https://user-images.githubusercontent.com/122637911/215630933-08786dc1-c903-...; You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1241
-- Commit Summary --
* Bracket Colors * remove leftover cruft, apply consistent snake case for helper functions * Merge branch 'geany:master' into bracketcolors_v1_clean
-- File Changes --
M MAINTAINERS (7) M Makefile.am (4) M README (1) A bracketcolors/AUTHORS (1) A bracketcolors/COPYING (339) A bracketcolors/ChangeLog (0) A bracketcolors/Makefile.am (4) A bracketcolors/NEWS (0) A bracketcolors/README (32) A bracketcolors/src/BracketMap.cc (110) A bracketcolors/src/BracketMap.h (63) A bracketcolors/src/Makefile.am (15) A bracketcolors/src/bracketcolors.cc (1292) A build/ax_cxx_compile_stdcxx.m4 (962) A build/ax_cxx_compile_stdcxx_17.m4 (35) A build/bracketcolors.m4 (31) M build/geany-plugins.nsi (1) M configure.ac (2) M po/POTFILES.in (3)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1241.patch https://github.com/geany/geany-plugins/pull/1241.diff
This is revived from my [original pull request](https://github.com/geany/geany-plugins/pull/1221)
I got too aggressive squashing commits between my work and home workstations and ended up getting other unrelated commits from upstream into my feature branch :sweat_smile:
cc @elextr @eht16 @b4n @rdipardo
Closed #1241.
Reopened #1241.
Closed #1241.
github-comments@lists.geany.org