[ANN] jEdit Snippets for Ruby on Rails


#1

Announcing: jEdit Snippets for Ruby on Rails

I thought I’d “give a little back to the community” and whip up some
SuperAbbrev files for ruby and rhtml that mimic all of the Textmate
Rails bundle snippets.

Note: This was totally inspired by Textmate and the syncPEOPLE Rails
plugin for Textmate. So thanks to you guys for being awesome. I just
thought I’d see how close I could get.

And why not, lets take it a little beyond the Textmate rails snippets,
and throw in a few more that seem useful and obvious.

Basically, on the RHTML side, there is a TON of additional useful
snippets.

Now this doesn’t include the other neat syncPeople commands, but if
someone wants to help out with writing some jEdit macros, that would
be dope.

So please, try it out, let me know if it works, add more snippets, etc.


What are snippets?

Snippets are small capsules of code that are activated by a key
sequence followed by [CTRL-Enter]. For example, mct[CTRL-Enter] will
activate the Migration Create Table snippet. The SuperAbbrevs plugin
makes this possible.


Download

http://synthesis.sbecker.net/articles/2006/03/20/jedit-snippets-for-ruby-on-rails

Thanks!


Scott B.
Web D.

Electro Interactive
www.ElectroInteractive.com
Blog: http://synthesis.sbecker.net


#2

That’s great. Been wondering about doing this but not gotten around to
it. Do you know if there’s a way to export the list so you can see what
the abbrev/fulltype pairs are?

Chris T


#3

Nice. Started using them (i’m a jEdit junkie) and I like it. Keep it up
:slight_smile:

cheers,
András
On 3/20/06, Scott B. removed_email_address@domain.invalid wrote:

thought I’d see how close I could get.
So please, try it out, let me know if it works, add more snippets, etc.

Web D.

Electro Interactive
www.ElectroInteractive.com
Blog: http://synthesis.sbecker.net


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


András Tarsoly
removed_email_address@domain.invalid


#4

I want to know this, too, if there is a possibility. Just for printing
out some cheatsheets while one getting used to these abbrevs.

Thanks,
Andras

On 3/20/06, ChrisT removed_email_address@domain.invalid wrote:

That’s great. Been wondering about doing this but not gotten around to
it. Do you know if there’s a way to export the list so you can see what
the abbrev/fulltype pairs are?

Chris T


András Tarsoly
removed_email_address@domain.invalid


#5

yes i have the same question
any way to take print out for ready ref?

On 3/20/06, ChrisT removed_email_address@domain.invalid wrote:


and throw in a few more that seem useful and obvious.



Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Best Regards,
Niket P.
For NexusNeo System
(A Div of NexusNeo System & Exim Pvt. Ltd)
Tel: +91 79 23244557
Fax: +91 79 23246531
E-mail: removed_email_address@domain.invalid
Web: www.nexusneo.com


#6

gr8 , many thanx

On 3/20/06, Scott B. removed_email_address@domain.invalid wrote:

plugin for Textmate. So thanks to you guys for being awesome. I just
be dope.
makes this possible.

http://lists.rubyonrails.org/mailman/listinfo/rails


Best Regards,
Niket P.
For NexusNeo System
(A Div of NexusNeo System & Exim Pvt. Ltd)
Tel: +91 79 23244557
Fax: +91 79 23246531
E-mail: removed_email_address@domain.invalid
Web: www.nexusneo.com


#7

I’ve now added online reference documentation for all the shortcuts.
That ought to help out.

http://synthesis.sbecker.net/pages/jedit-snippets-for-ruby-on-rails-docs

This is also linked from the original page:

http://synthesis.sbecker.net/articles/2006/03/20/jedit-snippets-for-ruby-on-rails

No PDF cheat sheet yet. Anyone want to do that for me? :slight_smile:

I especially like the Prototype Dissected cheat sheets
http://www.snook.ca/archives/000531.php

C’mon, who’s up for it?


Scott B.
Web D.

Electro Interactive
www.ElectroInteractive.com


#8

That sucks. I’ll add a note to my docs. Hopefully they’ll update
either jEdit or SuperAbbrevs and make it compatibile again. It’s a
killer plugin.

On 3/22/06, Matt T. removed_email_address@domain.invalid wrote:

On 3/20/06, Scott B. removed_email_address@domain.invalid wrote:

it. Do you know if there’s a way to export the list so you can see


snippets,
etc.

makes this possible.


E-mail: removed_email_address@domain.invalid
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Scott B.
Web D.

Electro Interactive
www.ElectroInteractive.com


#9

Just wanted to alert potential users: SuperAbbrevs only works with jEdit
versions >=4.2final and <=4.3pre2. If you’re using the latest beta
release,
4.3pre3, like I am, it’ll go wacky when you try to hit tab to switch
between
the fields. I was wondering why it wasn’t showing up in my in-app
plugins
list, so I went out and got it manually. Now I know why.

Just FYI.


#10

Matt T. wrote:

Just wanted to alert potential users: SuperAbbrevs only works with jEdit
versions >=4.2final and <=4.3pre2. If you’re using the latest beta
release,
4.3pre3, like I am, it’ll go wacky when you try to hit tab to switch
between
the fields. I was wondering why it wasn’t showing up in my in-app
plugins
list, so I went out and got it manually. Now I know why.

Just FYI.

Just thought I’d let you know, the author of SuperAbbrevs, Sune Simonsen
wrote in on my blog to say he’s working on an improved beta version,
which also works with 4.3pre3, so stay tuned for that!

Scott B.
Web D.

Electro Interactive
www.ElectroInteractive.com
Blog: http://synthesis.sbecker.net