EllisLab text mark
Advanced Search
     
So I made an ee2 sugar for macrabbit’s Espresso editor
Posted: 03 August 2011 09:11 AM
Avatar
Joined: 2008-01-23
109 posts

So I took Anthony Short’s great but now somewhat venerable ee sugar for the Espresso editor and updated it for ee2:

https://github.com/tomdavies/expressionengine2.sugar

For now it’s a fairly vanilla port of the ee1 version (with which it ought to play nicely) but I’m planning on adding more features over the next few weeks, along with support for some popular addons.

It’s likely in a somewhat alpha state in terms of the amount of testing it’s had so far, but given that it’s built on a pretty strong foundation it should be pretty usable for most. If you find a bug please report it on github rather than here.

One caveat is that it hasn’t yet been tested with the recent Espresso 2 alpha, so if anyone wants to give that a go that would be ace.

Also if there are particular addons you’d like to see supported let me know.

 
Posted: 03 August 2011 10:13 AM   [ # 1 ]   [ Rating: 0 ]
Joined: 2007-12-31
670 posts

Yeah, running into the same things I had with the version I made up. Espresso2 borks at the color syntax thing. Setting language to HTML looks good but screws the EE tags, set language to EE and makes all html white and stops auto complete.

NFI what they’ve done to the sugar system but this is a ground up re-build for Espresso 2 final (or beta)

 Signature 

#code_ninja{
  visibility: hidden;
  position: absolute;
}

D69

 
Posted: 03 August 2011 10:36 AM   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-23
109 posts

Hey cheif,

Re: theming/colours, are you using anthony short’s quiet night theme?

https://github.com/anthonyshort/quiet-night.foam

That should fix up that side of things.

Re: autocomplete, I had a few bumps in the road getting this working too, if you also have the ee1 sugar installed try deleting that and reinstalling from the version on GitHub (assuming you didn’t customise that as well)

Re: espresso 2, I think most things should be fine apart from those that rely on TEA’s python extensions etc, as they’ve implemented a new JS based system for that sort of thing.

I’ll probably wait until espresso 2 goes final and then re-write/add things once there’s some actual documentation for the changes/any new syntax

Also I’m pretty sure the new forum regs prohibit using these forums for support, so please post any other issues on Github.

 
Posted: 03 August 2011 12:28 PM   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2007-05-02
55 posts

We’ve added a link from our ExpressionEngine Dev Toolkit page.

There’s a number of Mountee users on Espresso - hopefully they can give you some useful feedback.

Nice work!

 Signature 

Co-developer of Mounteehellomountee.com ––  twitter.com/hellomountee

Life Forms Design - working with people, pixels and print since 2005 –– lifeforms.ie ––  twitter.com/lifeformsdesign

 
Posted: 16 August 2011 12:37 PM   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-23
109 posts

Just updated this to support the latest public beta of Espresso 2 - be sure to follow the instructions for using the correct branch of the repo as this version is not backwards compatible with Espresso 1.x

https://github.com/tomdavies/expressionengine2.sugar/tree/kaboom

 
Posted: 29 September 2011 07:46 PM   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2009-03-03
182 posts

Thanks for working on this. I’m using the kaboom of Espresso and the latest build of this sugar. So far so good.

 
Posted: 02 November 2011 01:29 PM   [ # 6 ]   [ Rating: 0 ]
Joined: 2008-07-04
21 posts

Downloaded and installed this sugar, don’t seem to be able to get it working. It’s in the right folder and called ‘expressionengine2.sugar’ (after installing as instructed.

In a html document it doesn’t seem to get triggered when typing {exp etc…

Any thoughts?

Using Espresso 2.0.1 (not beta) by the way.

 
Posted: 10 November 2011 03:14 AM   [ # 7 ]   [ Rating: 0 ]
Joined: 2007-08-27
3 posts

Thanks a lot for this release! its been great so far!

 
Posted: 11 November 2011 10:15 AM   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-23
109 posts

@oliverhood - the ee forum rules don’t permit addon support to be given here - please raise an issue on github og you’re still having problems and i’ll do my best to help you out there

 
Posted: 17 November 2011 03:05 PM   [ # 9 ]   [ Rating: 0 ]
Avatar
Joined: 2007-10-09
30 posts

Hi, Loving Mountee and Espresso and EE2 sugar!  So, I always have to set the language to EE2 - “Detect Automatically” is always checked.  I spend hours at a time opening EE template.  Anyway I can have it correctly detect?  Am I missing something?

Thanks.

 Signature 

9 degrees development | Michael Layne

 
Posted: 18 November 2011 10:42 AM   [ # 10 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-23
109 posts

Hi Michael, please see my former post re: ee forum rules don’t permit addon support here,  but will check this out and see if I can find a fix.

 
Posted: 18 November 2011 04:37 PM   [ # 11 ]   [ Rating: 0 ]
Avatar
Joined: 2007-10-09
30 posts

Sorry EE!!! I’l map a mental note about that.  Moved off now.  Thanks.

 Signature 

9 degrees development | Michael Layne