<p></p>
<p>Geany version: 1.36<br>
OS: Linux Mint 20</p>
<p>Copying <code>/usr/share/geany/snippets.conf</code> to <code>$HOME/.config/geany/snippets.conf</code> and replacing the block</p>
<pre><code># [Python]
# for=for i in xrange(%cursor%):\n\t%cursor%
# if=if %cursor%:\n\t
# elif=elif %cursor%:\n\t
# else=else:\n\t
# while=while %cursor%:\n\t
# try=try:\n\t%cursor%\nexcept Exception, ex:\n\t
# with=with %cursor%:\n\t
# def=def %cursor% (%cursor%):\n\t""" Function doc """\n\t
# class=class %cursor%:\n\t""" Class doc """\n\t\n\tdef __init__ (self):\n\t\t""" Class initialiser """\n\t\tpass
</code></pre>
<p>with (added one line at bottom)</p>
<pre><code># [Python]
# for=for i in xrange(%cursor%):\n\t%cursor%
# if=if %cursor%:\n\t
# elif=elif %cursor%:\n\t
# else=else:\n\t
# while=while %cursor%:\n\t
# try=try:\n\t%cursor%\nexcept Exception, ex:\n\t
# with=with %cursor%:\n\t
# def=def %cursor% (%cursor%):\n\t""" Function doc """\n\t
# class=class %cursor%:\n\t""" Class doc """\n\t\n\tdef __init__ (self):\n\t\t""" Class initialiser """\n\t\tpass
# customsnippet=customsnippet
</code></pre>
<p>does not produce the expected output. I restarted Geany after saving the new config file. Writing <code>customsnippet</code> and hitting tab just adds whitespace.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2646">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZ2VPKGCRYLU7VGKD3SOWENLANCNFSM4TNZOBKQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5D2TVUFW2K37PQRZ3SOWENLA5CNFSM4TNZOBK2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LABNV2A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2646",
"url": "https://github.com/geany/geany/issues/2646",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>