On Sun, 8 Aug 2010 23:37:43 +1000 Erik de Castro Lopo mle+tools@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