[Geany-devel] Slight problem with autocomplete and Haskell

Colomban Wendling lists.ban at xxxxx
Thu Nov 24 13:52:45 UTC 2011


Le 24/11/2011 01:54, Lex Trotman a écrit :
> On Thu, Nov 24, 2011 at 11:39 AM, Erik de Castro Lopo
> <mle+tools at mega-nerd.com> wrote:
>> Hi all,
>>
>> I'm using current geany SVN head and coding quite a bit of Haskell.
>> One pretty significant annoyance is that one common way of formating
>> Haskell code results in something that looks like this:
>>
>>   functionName :: Type1 -> IO Type2
>>   functionName param
>>    = do   putStrLn "In functionName"
>>           .....
>>
>> The problem is that when I type the above in, I add the " = do" and
>> then hit Tab for indentation and thats when geany decides to delete
> 
> [...]
> 
> You can indent at any point in the line using <ctrl>i (yes I know in
> the ascii days that was a tab but not in a gui)

Or simply change the "complete snippet" keybinding to something other
than <Tab> as a quickfix.

Cheers,
Colomban



More information about the Devel mailing list