In https://www.geany.org/Support/PluginWishlist there is:
  • Expand/collapse if/fi, for/done, while/done in Shellscripts like for functions. - already possible by adding own snippets, check the manual for details.

but it is not clear from the manual how to do it.
From help snippets are about autocompletion so I have not idea how to use it to do expand/collapse for if/fi, for/done, while/done in Shellscripts ?

BR,
 Mikowhy