6 of 6
6
TEA for Espresso, 1.0
Posted: 08 September 2009 05:20 PM   [ Ignore ]   [ # 76 ]
Moderator
RankRankRankRank
Total Posts:  989
Joined  2008-10-28

TEA for Espresso 1.0 is out in the wild!  Thanks to everyone who helped test it, offered suggestions or feature requests, and so forth.  There are no changes between version 1.0 and 1.0b19.

Unless anyone finds bugs or urgent issues, I’m not planning to put any more work into 1.0.x.  I’m still working on getting some better documentation and a TEA-specific website online, but that’s moving slowly.  The next major version will be 1.1, and likely not much will change from a user’s perspective; my goal is to fix some lingering behavioral oddities and convert the core of the sugar to Objective-C to help make Espresso launch quicker.

Let me know if you find any problems with TEA 1.0!

 Signature 

Ian Beck
MacRabbit Support

My stuff:
TEA (docs / source) .:. Spice.sugar .:. HTMLBundle.sugar .:. Quiet Light & Earthworm

Profile
 
 
Posted: 08 September 2009 06:25 PM   [ Ignore ]   [ # 77 ]
Newbie
Rank
Total Posts:  19
Joined  2009-02-26

Thanks, Ian, for all the work you’ve put into TEA benefitting everyone.

Profile
 
 
Posted: 09 September 2009 03:03 AM   [ Ignore ]   [ # 78 ]
Sr. Member
RankRankRankRank
Total Posts:  211
Joined  2008-11-19
insane-dreamer - 08 September 2009 06:25 PM
Thanks, Ian, for all the work you’ve put into TEA benefitting everyone.

I wanted to second this. Even though I’m not a Sugar author TEA makes Espresso much more useable. Thank you for working so hard on this.

Profile
 
 
Posted: 09 September 2009 03:09 AM   [ Ignore ]   [ # 79 ]
Moderator
RankRankRankRank
Total Posts:  989
Joined  2008-10-28

Just FYI for everyone: you can find some documentation for the bundle’s actions (at long last) in my TEA 1.0 announcement:

http://beckism.com/2009/09/tea_for_espresso/

 Signature 

Ian Beck
MacRabbit Support

My stuff:
TEA (docs / source) .:. Spice.sugar .:. HTMLBundle.sugar .:. Quiet Light & Earthworm

Profile
 
 
Posted: 11 September 2009 06:54 PM   [ Ignore ]   [ # 80 ]
Newbie
Rank
Total Posts:  25
Joined  2009-05-31

A big “Thank You” from me too :)

—magnus

Profile
 
 
Posted: 14 September 2009 04:27 AM   [ Ignore ]   [ # 81 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2009-02-15

Tab-triggers don’t work for Zen-Coding snippets (eg “input:hidden” or “html:xs”) in Espresso?

Profile
 
 
Posted: 14 September 2009 04:54 AM   [ Ignore ]   [ # 82 ]
Moderator
RankRankRankRank
Total Posts:  989
Joined  2008-10-28

Tab triggers are working great for me in zen coding snippets (including the two you referenced).  Some things to check:

- Are you running Espresso 1.0.7?

- Are you entering any other auto-completed information before you hit tab to jump to the next tab stop?

- Does immediately hitting tab after expanding the snippet work or not?

If you’re running the latest version of Espresso, aren’t entering auto-completed information prior to hitting tab, and hitting tab with a vanilla expansion of the snippet doesn’t work, please let me know what OS and type of computer you’re using (Intel/PPC) and if possible describe exactly what you’re seeing for one of the snippets including cursor position immediately after expanding it.

 Signature 

Ian Beck
MacRabbit Support

My stuff:
TEA (docs / source) .:. Spice.sugar .:. HTMLBundle.sugar .:. Quiet Light & Earthworm

Profile
 
 
Posted: 14 September 2009 05:00 AM   [ Ignore ]   [ # 83 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2009-02-15

Oh, something wrong then, I thought so.

- Yes, its 1.0.7
- Its new blank file, I write “html:xs” (without double quotes ofcourse) and hit Tab, but nothing happens. Its just as if I wrote some regular text, pressing tab creates a few blank spaces, thats it.

I’m on a Macbook Pro 17” (Mid-2009), Leopard 10.5.8.

Many thanks.

Profile
 
 
Posted: 14 September 2009 05:01 AM   [ Ignore ]   [ # 84 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2009-02-15

But if I press the hotkey (Ctrl + ,) instead, the snippet works, just not with a Tab-trigger.

Profile
 
 
Posted: 14 September 2009 10:42 AM   [ Ignore ]   [ # 85 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2009-02-15

Ok, I just uninstalled and reinstalled Espresso all over again, still the same. Snippets work with Ctrl+, but not with Tab trigger. Is it just me?

Edited to Add: Also tried rolling back to 1.0.6, still the same! :-(

Profile
 
 
Posted: 14 September 2009 11:17 AM   [ Ignore ]   [ # 86 ]
Newbie
Rank
Total Posts:  25
Joined  2009-05-31

Same for me.

I also need to use Ctrl + , to expand the snippet.

Latest 1.0.7, 10.6 and a Intel Mac Pro.

—magnus

BTW, I did not know that this “Zen-snippets” existed until I checked 3zzy’s problem. Great stuff!

Profile
 
 
Posted: 14 September 2009 04:24 PM   [ Ignore ]   [ # 87 ]
Newbie
Rank
Total Posts:  19
Joined  2009-02-26

I experience the same (with 1.0.7): ^, expands zen-snippets, but not tab.

Profile
 
 
Posted: 14 September 2009 06:58 PM   [ Ignore ]   [ # 88 ]
Moderator
RankRankRankRank
Total Posts:  989
Joined  2008-10-28

Ah, I see the problem.  Zen coding doesn’t have tab completions for its abbreviations; you indeed have to run it through the “Expand Abbreviation” using control-comma.  Having those abbreviations available with tab completions would definitely be handy, though.  I’ll see if I can whip up a script to convert them to tab completions.

Reason you have to invoke the action rather than using a tab completion is because zen coding is sort of a separate entity; in order to get its abbreviations into Espresso as tab completions I’ll need to convert the zen abbreviation dictionary into some XML that Espresso will recognize as action definitions (which will then take up menu space somewhere in the Actions menu), which is why I haven’t tried to do this until now.

I’ve filed an issue for this if you want to track it:

http://github.com/onecrayon/tea-for-espresso/issues/#issue/50

Sorry for the misunderstanding over the term “tab triggers”.  I thought you were talking about tab stops.

 Signature 

Ian Beck
MacRabbit Support

My stuff:
TEA (docs / source) .:. Spice.sugar .:. HTMLBundle.sugar .:. Quiet Light & Earthworm

Profile
 
 
Posted: 15 September 2009 06:16 PM   [ Ignore ]   [ # 89 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2009-02-15

Great thanks, Ian. Look forward to the next update. I’ll switch from Textmate in a second if the Tab-triggers work.

Thanks again.

Profile
 
 
   
6 of 6
6