1 of 3
1
jQuery.sugar
Posted: 25 March 2009 11:08 AM   [ Ignore ]
Sr. Member
RankRankRankRank
Total Posts:  205
Joined  2008-10-28

I haven’t seen one so I went ahead and whipped up this jQuery.sugar.

http://code.google.com/p/espresso-jquery-sugar/downloads/list

Features:
- Codesense for most jQuery functions
- Snippets for quickly creating a jQuery object and anonymous functions
- Syntax highlighting for functions and jQuery selectors

Will post more info at the project page. Let me know what you think!

Screenshot 1 - Code View

Screenshot2 - Syntax Inspector

 Signature 

PHP.sugar

“Quick! Get in the Tardis!”

Profile
 
 
Posted: 25 March 2009 01:12 PM   [ Ignore ]   [ # 1 ]
Member
RankRankRank
Total Posts:  75
Joined  2008-11-04

Ha beat me to it! I was thinking about having a go at that this weekend :) It works really well.

Any chance you might put that baby up on GitHub? I’d love to be able to contribute to the project.

Profile
 
 
Posted: 25 March 2009 04:37 PM   [ Ignore ]   [ # 2 ]
Sr. Member
RankRankRankRank
Total Posts:  205
Joined  2008-10-28

It’s a possibility. I purchased Versions, so I am keen on using svn at the moment. Plus google code has a lot of features that help with sugar development (bug tracking mainly). I’ll consider it.

 Signature 

PHP.sugar

“Quick! Get in the Tardis!”

Profile
 
 
Posted: 25 March 2009 04:40 PM   [ Ignore ]   [ # 3 ]
Moderator
RankRankRankRank
Total Posts:  984
Joined  2008-10-28

Anthony: I haven’t done this myself, but I believe it’s possible to hook Git up to an SVN repository in order to work with Git locally but contribute to SVN remotely.

 Signature 

Ian Beck
MacRabbit Support

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

Profile
 
 
Posted: 25 March 2009 05:18 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  7
Joined  2009-03-25

There’s no sugar for JavaScript yet, right?

Profile
 
 
Posted: 25 March 2009 05:19 PM   [ Ignore ]   [ # 5 ]
Sr. Member
RankRankRankRank
Total Posts:  205
Joined  2008-10-28
Tonio Loewald - 25 March 2009 05:18 PM
There’s no sugar for JavaScript yet, right?

It’s built in to Espresso.

 Signature 

PHP.sugar

“Quick! Get in the Tardis!”

Profile
 
 
Posted: 25 March 2009 05:21 PM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  7
Joined  2009-03-25

Excellent!

It should be listed as supported then :-)

Profile
 
 
Posted: 25 March 2009 05:24 PM   [ Ignore ]   [ # 7 ]
Sr. Member
RankRankRankRank
Total Posts:  205
Joined  2008-10-28

Oh, but it does!

“what’s built in?

Espresso 1.0 supports HTML, CSS, XML, JavaScript and PHP out of the box. Publish using FTP, SFTP, FTP/SSL or Amazon S3.”

Must have missed it. If you try jQuery.sugar out, let me know how you like it!

 Signature 

PHP.sugar

“Quick! Get in the Tardis!”

Profile
 
 
Posted: 25 March 2009 05:29 PM   [ Ignore ]   [ # 8 ]
Newbie
Rank
Total Posts:  7
Joined  2009-03-25

Ah so it does. I saw this in the pinned posts:

- HTML, CSS, [removed] included by default
- PHP
- Python
- SQL
- ASP.NET
- Ruby
- Markdown

Profile
 
 
Posted: 25 March 2009 10:30 PM   [ Ignore ]   [ # 9 ]
Member
RankRankRank
Total Posts:  75
Joined  2008-11-04

I know your pain Derek, I bought Versions as well, but now I’m using git more and more. Also, github lets you integrate Lighthouse bug tracker straight into your projects (which is free if your project is open source).

Profile
 
 
Posted: 26 March 2009 05:13 AM   [ Ignore ]   [ # 10 ]
Sr. Member
RankRankRankRank
Total Posts:  232
Joined  2008-11-05
Anthony Short - 25 March 2009 10:30 PM
I know your pain Derek, I bought Versions as well, but now I’m using git more and more. Also, github lets you integrate Lighthouse bug tracker straight into your projects (which is free if your project is open source).

I find Lighthouse a bit unusable though, ugh. Maybe that’s just me.

And yes, you can port a git project over to Subversion, if you wish to keep Google Code synced with GitHub. I believe GitHub can even do that for you, though I’ve never used it.

 Signature 

Ruby.sugar | Rails.sugar? | Haml.sugar | SASS.sugar | Sugar Manager.sugar | Git.sugar | Regex.sugar | ERb.sugar | RSpec.sugar

http://elliottcable.name/contact.xhtml

Profile
 
 
Posted: 22 April 2009 07:33 PM   [ Ignore ]   [ # 11 ]
Newbie
Rank
Total Posts:  3
Joined  2009-04-22

i installed the jquery sugar but cant get it to show up, i installed it in
/library/application support/espresso/sugars

i also installed the ExpressionEngine sugar and that worked fine.


thanks for taking the time guys.

Profile
 
 
Posted: 22 April 2009 08:34 PM   [ Ignore ]   [ # 12 ]
Newbie
Rank
Total Posts:  6
Joined  2009-04-07

It doesn’t show up, as it extends the JavaScript Sugar. But start writing JavaScript in your code, and you’ll see some pretty neat jQuery methods popping up in your auto complete ;)

Profile
 
 
Posted: 22 April 2009 08:38 PM   [ Ignore ]   [ # 13 ]
Newbie
Rank
Total Posts:  3
Joined  2009-04-22

sweet, thanks BeyondSanity.

Profile
 
 
Posted: 22 April 2009 08:45 PM   [ Ignore ]   [ # 14 ]
Newbie
Rank
Total Posts:  6
Joined  2009-04-07

Don’t mention it, I was wondering about the same thing myself before I started actually writing some jQuery specific JS.

Profile
 
 
Posted: 22 April 2009 09:53 PM   [ Ignore ]   [ # 15 ]
Sr. Member
RankRankRankRank
Total Posts:  205
Joined  2008-10-28

Sorry for not getting to this sooner.

I am going to change how this acts, and have a specific jQuery language to prevent any collision with other js framework/library syntaxes. I’ll push an update this weekend and let you all know!

 Signature 

PHP.sugar

“Quick! Get in the Tardis!”

Profile
 
 
   
1 of 3
1