On Wed, 13 Mar 2024 at 07:53, H via Users <users@lists.geany.org> wrote: > > Running geany 1.37. I am currently using geany to write css, html and twig > files. I have seen many use an editor called sublime but I am sticking with > geany. > > One of the capabilities of sublime is being able to type eg.: > > .myclass > > and have it converted to > > <div class="myclass"> > > </div> > > .myclass is of course only an example and I am looking for a macro that would > allow me to type . + some class name and have it converted analogously to > above. While I have extended the auto-completion capabilities by editing > snippets.conf, this will not work for my use case above since the class name > can/should be anything I choose.
This is a very specific use-case that "somebody" can write a plugin to provide, perhaps as an expansion of the xml snippets plugin. Its unlikely to be added to Geany itself. Cheers Lex > > Does anyone know how to do this? > > _______________________________________________ > Users mailing list -- users@lists.geany.org > To unsubscribe send an email to users-le...@lists.geany.org _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-le...@lists.geany.org