Discussion:
BBEdit Ruby & Rails Syntax Module available
Andrew Otwell
2005-06-07 02:46:15 UTC
Permalink
I've made a Ruby & Rails syntax coloring module for BBEdit. This is a
"Codeless Language Module", so it will only work with BBEdit 8+. It's
basically a giant list of Ruby and Rails keywords, method names, and
so on. It's both Ruby and Rails because BBedit only lets you
associate a file type with one language module.

The file is available here:
http://www.heyotwell.com/work/misc/Ruby.plist (42k plist file)

To use it, just drop it into ~/Library/Application Support/BBEdit/
Language Modules and restart BBEdit.

Note: If you're already using the old Ruby plugin BareBones provides
a link to on their site, you'll have to get rid of it; again, only
one language definition can be associated with Ruby files. I find
that that plugin (from 2001), is badly out of date and does a
terrible job coloring Ruby syntax anyway...it can't even color
comments properly.

Also note: there's one big known issue with Codeless Language
Modules: BBEdit isn't smart enough to parse Ruby-style functions,
especially those with if/else/end clauses. So, some functions don't
correctly get added to BBEdit's function pop-up. (Workaround: stop
writing functions with if/else/end clauses!) Please ask BareBones to
add better support for Ruby-style function definitions in CLMs!

Any improvements or additions would be great. I'll try to keep this
up-to-date with new versions of Rails.

Best,

Andrew
Michael Champanis
2005-06-07 16:44:46 UTC
Permalink
For Linux/Unix/Windows users, I highly recommend jEdit with the Ruby,
Project view, Sidekick, Tasklist, and JTidy plugins. It's not exactly
a speed demon since it's written in Java, but it is one of the best
editors I have used for a long time. Ruby docs and code completion for
the standard libraries is included inside the IDE.

http://jedit.org

Michael
Post by Andrew Otwell
I've made a Ruby & Rails syntax coloring module for BBEdit. This is a
"Codeless Language Module", so it will only work with BBEdit 8+. It's
basically a giant list of Ruby and Rails keywords, method names, and so
on. It's both Ruby and Rails because BBedit only lets you associate a
file type with one language module.
Jean Helou
2005-06-07 20:13:54 UTC
Permalink
Is there some kind of svn integration for jedit ?

I am currently using eclipse + RDT (rubyeclipse) + svnclipse.

I have some issues with RDT (devel seems stalled at the momen), but I
can't really live without the synchronize perspective in eclipse so I
haven't had enough incentive to move at the moment, but I would love
to have the opportunity

Jean
Post by Michael Champanis
For Linux/Unix/Windows users, I highly recommend jEdit with the Ruby,
Project view, Sidekick, Tasklist, and JTidy plugins. It's not exactly
a speed demon since it's written in Java, but it is one of the best
editors I have used for a long time. Ruby docs and code completion for
the standard libraries is included inside the IDE.
http://jedit.org
Michael
Post by Andrew Otwell
I've made a Ruby & Rails syntax coloring module for BBEdit. This is a
"Codeless Language Module", so it will only work with BBEdit 8+. It's
basically a giant list of Ruby and Rails keywords, method names, and so
on. It's both Ruby and Rails because BBedit only lets you associate a
file type with one language module.
_______________________________________________
Rails mailing list
http://lists.rubyonrails.org/mailman/listinfo/rails
Vanessa G Pagan
2005-06-07 20:34:12 UTC
Permalink
Post by Jean Helou
Is there some kind of svn integration for jedit ?
There is an svn-commit mode for jEdit 4.2 but no plugin seems to be in
development for more integration.

Vanessa
David Chilton
2005-06-07 14:34:30 UTC
Permalink
I like Crimson Editor on Windows. Its free and has a nice directory
browser similar to TextMate. I hacked the html and ruby language specs
together to get an rhtml spec, if anyone is interested in it let me
know.

David
-----Original Message-----
Sent: Tuesday, June 07, 2005 12:45 PM
Subject: Linux/Windows editors :was [Rails] BBEdit Ruby
For Linux/Unix/Windows users, I highly recommend jEdit with the Ruby,
Project view, Sidekick, Tasklist, and JTidy plugins. It's not exactly
a speed demon since it's written in Java, but it is one of the best
editors I have used for a long time. Ruby docs and code completion for
the standard libraries is included inside the IDE.
http://jedit.org
Michael
Post by Andrew Otwell
I've made a Ruby & Rails syntax coloring module for BBEdit. This is
a
Post by Andrew Otwell
"Codeless Language Module", so it will only work with BBEdit 8+.
It's
Post by Andrew Otwell
basically a giant list of Ruby and Rails keywords, method names, and
so
Post by Andrew Otwell
on. It's both Ruby and Rails because BBedit only lets you associate
a
Post by Andrew Otwell
file type with one language module.
_______________________________________________
Rails mailing list
http://lists.rubyonrails.org/mailman/listinfo/rails
==============================================================================CONFIDENTIALITY NOTICE: The information in this electronic message (including any attachments) is confidential and may be privileged or proprietary. If you are not the intended recipient, any dissemination, disclosure, copying, downloading, or other use of the information is prohibited and unauthorized, and may be unlawful, regardless of address or routing. If you are not the intended recipient, please inform the sender immediately and permanently delete and destroy the original and any copies of this message, including any attachments.
==============================================================================
David Chilton
2005-06-08 16:19:55 UTC
Permalink
I've put my rhtml spec for crimson editor in the "Syntax Files" section
of crimsoneditor.com. The subject line is "RHTML Syntax File", in case
it's not on the front page anymore (easier to search for that line).

David
-----Original Message-----
Sent: Tuesday, June 07, 2005 1:57 PM
To: David Chilton
Subject: Re: Linux/Windows editors :was [Rails] BBEdit Ruby
I'd love to check out the language specs that you have for Crimson
Editor. I'm stuck using Windows at work and just haven't found
anything to "fit" me yet for doing Rails development.
--austin
Post by David Chilton
I like Crimson Editor on Windows. Its free and has a nice directory
browser similar to TextMate. I hacked the html and ruby language
specs
Post by David Chilton
together to get an rhtml spec, if anyone is interested in it let me
know.
David
-----Original Message-----
Sent: Tuesday, June 07, 2005 12:45 PM
Subject: Linux/Windows editors :was [Rails] BBEdit Ruby
For Linux/Unix/Windows users, I highly recommend jEdit with the
Ruby,
Post by David Chilton
Project view, Sidekick, Tasklist, and JTidy plugins. It's not
exactly
Post by David Chilton
a speed demon since it's written in Java, but it is one of the
best
Post by David Chilton
editors I have used for a long time. Ruby docs and code completion
for
Post by David Chilton
the standard libraries is included inside the IDE.
http://jedit.org
Michael
Post by Andrew Otwell
I've made a Ruby & Rails syntax coloring module for BBEdit. This
is
Post by David Chilton
a
Post by Andrew Otwell
"Codeless Language Module", so it will only work with BBEdit 8+.
It's
Post by Andrew Otwell
basically a giant list of Ruby and Rails keywords, method names,
and
Post by David Chilton
so
Post by Andrew Otwell
on. It's both Ruby and Rails because BBedit only lets you
associate
Post by David Chilton
a
Post by Andrew Otwell
file type with one language module.
_______________________________________________
Rails mailing list
http://lists.rubyonrails.org/mailman/listinfo/rails
========================================================================
==
====CONFIDENTIALITY NOTICE: The information in this electronic
message
(including any attachments) is confidential and may be privileged or
proprietary. If you are not the intended recipient, any
dissemination,
disclosure, copying, downloading, or other use of the information is
prohibited and unauthorized, and may be unlawful, regardless of
address or
routing. If you are not the intended recipient, please inform the
sender
immediately and permanently delete and destroy the original and any
copies
of this message, including any attachments.
========================================================================
==
====
Post by David Chilton
_______________________________________________
Rails mailing list
http://lists.rubyonrails.org/mailman/listinfo/rails
==============================================================================CONFIDENTIALITY NOTICE: The information in this electronic message (including any attachments) is confidential and may be privileged or proprietary. If you are not the intended recipient, any dissemination, disclosure, copying, downloading, or other use of the information is prohibited and unauthorized, and may be unlawful, regardless of address or routing. If you are not the intended recipient, please inform the sender immediately and permanently delete and destroy the original and any copies of this message, including any attachments.
==============================================================================
Loading...