bracket and quote auto-completing
Posted: 13 June 2010 11:58 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2010-06-13

I’m not sure if this is the right category (sorry if not). I’ve tried the IRC chan with no luck..

Is there a way to turn off the bracket and quote auto-completing?
It would be perfect if they’d work like in Textmate, but the way Espresso is doing it now makes more problems than good for me.

Thanks!

Profile
 
 
Posted: 14 June 2010 07:31 PM   [ Ignore ]   [ # 1 ]
Moderator
RankRankRankRank
Total Posts:  1249
Joined  2008-10-28

Hey Tadas,

There is no autocompleting for brackets or quotes in Espresso by default. You probably installed a Sugar that has a snippet to achieve that (likely the Text.sugar or one of the older Python.sugars).

The only exception is CSS; auto-completing those brackets is indeed a feature of Espresso.

If you want to continue using a Sugar but turn off autocompletion of brackets, please let me know which sugar and I can give you specific instructions.

 Signature 

Ian Beck
MacRabbit Support

Follow us on Twitter, or try my custom themes: Quiet Light & Earthworm

Profile
 
 
Posted: 14 June 2010 08:17 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2010-06-13

Thanks Ian! It was the stijndm-drupal.sugar, but I was barely using it anyway so trashing it solved my problem and I can continue ejoying coding. Great. Thanks again :)

Profile
 
 
Posted: 15 June 2010 06:59 AM   [ Ignore ]   [ # 3 ]
Sr. Member
RankRankRankRank
Total Posts:  232
Joined  2008-11-19
Ian Beck - 14 June 2010 07:31 PM
There is no autocompleting for brackets or quotes in Espresso by default. You probably installed a Sugar that has a snippet to achieve that (likely the Text.sugar or one of the older Python.sugars).

I pretty annoyed by that in the Python sugar I’m using. Can you point me in the direction of a more recent one?

Profile
 
 
Posted: 15 June 2010 08:18 AM   [ Ignore ]   [ # 4 ]
Member
RankRankRank
Total Posts:  55
Joined  2009-01-02

Hey Ian, yes I would like to have turn off autocompletion of brackets in CSS, could you help me to done that?
thanks

Profile
 
 
Posted: 15 June 2010 06:25 PM   [ Ignore ]   [ # 5 ]
Moderator
RankRankRankRank
Total Posts:  1249
Joined  2008-10-28

@donut: This is the most recently embarked upon Python.sugar that I know of, but I’m not sure how feature-complete it is yet: http://github.com/fileability/PythonAndDjango.sugar

@lolito: To remove or modify bracket handling in CSS, you’ll need to override the sugar:

http://wiki.macrabbit.com/index/Override_default_sugars/

Now that I think of it, there’s actually already a discussion of modifying the bracket snippet handling here:

http://wiki.macrabbit.com/forums/viewreply/2671/

If you want to completely remove the bracket auto-insertion, then remove the <snippet> element rather than modifying its child <text> element (referencing the above-linked post).

 Signature 

Ian Beck
MacRabbit Support

Follow us on Twitter, or try my custom themes: Quiet Light & Earthworm

Profile