[Geany] Bad code completion.

Frank Lanitz frank at xxxxx
Sun Aug 8 15:27:32 UTC 2010


On Sun, 8 Aug 2010 23:37:43 +1000
Erik de Castro Lopo <mle+tools at mega-nerd.com> wrote:

> I'm coding in Haskell and find that if I type 'do' and then
> hit the <tab> key I get the a couple of lines of code for a
> C do/while loop. It looks like:
> 
>     llvmVarOfExp2 (XUnbox t v)
>      = do
>       {
> 	
>       } while ()
>   
> which is definitelu not Haskell code :-).
> 
> How do I switch this off? At least for Haskell.

Yo can change this by removing just editing line 
do=do\n{\n\t%cursor%\n} while (%cursor%)\n%cursor%
inside your snippets.conf. E.g. you cna access them via Tools ->
Configuration Files -> snippets.conf

Cheers, 
Frank
-- 
Frank Lanitz <frank at frank.uvena.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20100808/eaa0f25a/attachment.pgp>


More information about the Users mailing list