Radrails syntax highlighting

30 views
Skip to first unread message

bradx3

unread,
Feb 27, 2007, 6:32:38 AM2/27/07
to Haml
New plugin version out: http://haml.lucky-dip.net/

You'll need RadRails 0.7.1.

New features:
- content assist for html tags in Haml
- content assist for classes in Haml (after it's been used once)
- Sass highlighting
- content assist for css types in Sass
- options for colours (you have to close and reopen the editor window
for these to show up. I am working on fixing that)
- constant content assist for Sass
- pretty icons

I've tried to set up an Eclipse update site (at http://haml.lucky-dip.net)
but it doesn't seem to be working. I can't tell if it's my Eclipse
install which is busted or the site. Oh well.

To be honest I'm not actually *cough* using Haml or Sass too much at
the moment, so if there's any features I've missed or misunderstood
(or other bugs!) I'll need the feedback here. I'm probably not going
to find it at the moment otherwise :-(

Cheers,
Brad

merg

unread,
Feb 27, 2007, 7:54:44 AM2/27/07
to ha...@googlegroups.com
Just updated the plugin. I noticed a 'small' bug in the context formatter. If you have a text content which contains a dash, it starts coloring the from the dash within the text, so in the sample below '- def' get's highlighted. (As I said, a small one.) Like the updated icon BTW!

.title
  User
  =h ApplicationHelper.get_logged_on_user(session)
  abc - def
--
--Merg

Larry Kelly

unread,
Feb 27, 2007, 10:26:25 AM2/27/07
to ha...@googlegroups.com
Well, I am using it.  Thanks muchly for the updated plugin. Help a lot!
-Larry
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
            --- E.Taft Benson

RSL

unread,
Feb 27, 2007, 7:45:12 AM2/27/07
to Haml
I tried the Eclipse update method and it's indeed not working on my
end [a fresh install] either. Are you planning to try again or should
I just download the file and attempt a manual installation?

RSL

On Feb 27, 6:32 am, "bradx3" <bra...@gmail.com> wrote:
> New plugin version out:http://haml.lucky-dip.net/
>
> You'll need RadRails 0.7.1.
>
> New features:
> - content assist for html tags in Haml
> - content assist for classes in Haml (after it's been used once)
> - Sass highlighting
> - content assist for css types in Sass
> - options for colours (you have to close and reopen the editor window
> for these to show up. I am working on fixing that)
> - constant content assist for Sass
> - pretty icons
>

> I've tried to set up an Eclipse update site (athttp://haml.lucky-dip.net)

bradx3

unread,
Feb 27, 2007, 3:37:54 PM2/27/07
to Haml
I will try to fix it but it might not be for a few days.

So maybe the download is best for the moment. Thanks for double
checking it for me.

Merg: I'll look into it. Thanks!

Irfy

unread,
Mar 31, 2007, 10:21:26 AM3/31/07
to Haml
Hi Brad,

In fact I haven't tried out your plugin yet, but I found the problem
with your update site: in site.xml you reference the feature jar with
url="features/net.lucky_dip.editors_0.2.jar" and version="0.2", but
the actual jar is "features/net.lucky_dip.editors_0.2.0.jar" with
version "0.2.0". So you are basically just missing a ".0" in those two
attributes. Other than that, I've had problems with the radrails
feature requirement, I had no registered radrails feature, although
i've installed radrails properly through their update site. So I
suggest removing that too, for the time being.

I've mirrored your update site locally, added this ".0" to the two
locations, removed the dependency on the radrails feature (not
removing the dependency on the radrails ui plugin) - and I can confirm
that the update site perfectly works.

Best regards,

-- Irfy

ridcully

unread,
Apr 5, 2007, 6:39:03 AM4/5/07
to Haml
Your plugin has been very helpful for me, until yesterday I installed
CDT for eclipse and it stopped working. .haml and .sass File
Associations were not set anymore, and I could not find the HAML/SASS
Editor in the list to set it manually.

I don't have any experience with eclipse plugins, but the first thing
I did was extracting your .jar contents into a directory, and changing
the plugin.xml to the source path "net". And guess what, now it works
again.. Perhaps you could investigate this issue, I think this could
be a major pitfall for other users..

Andi

Brad Wilson

unread,
Apr 15, 2007, 7:15:42 PM4/15/07
to ha...@googlegroups.com
I'll look into it.

There's a few issues I'm aware of at the moment. I've been out of town for the
last few weeks so things have taken longer than I expected to get around to
(don't they always).

Thanks for the heads up Andi.

Sean Tan

unread,
Apr 23, 2007, 10:47:41 PM4/23/07
to Haml
I was experiencing the same problem that Haml editor doesn't show up.
One sure way to check as well is to see a Haml option in the Eclipse
Preference.
What I did was to unzip the latest plugin (0.2.0) here [http://
haml.lucky-dip.net/] into the eclipse/plugins.

Also very importantly, I upgraded my RDT in eclipse to version 0.9.0
which causes the
ClassDefNotFoundException: org/rubypeople/rdt/internal/ui/text/ruby/
RubyCodeScanner
when i tries to open the Haml files using the editor.

Reverting back to 0.8.1 for the RDT solves the problem.

Brad Wilson

unread,
Apr 23, 2007, 11:04:23 PM4/23/07
to ha...@googlegroups.com
Ok. I guess there's been some changes in the new version of RDT.

I was doing some work on these plugins yesterday - trying to get outline view
and folding working.

Once they are done I might try coping some of the 0.8 version of RDT code into
mine so these upgrades don't affect me *too* much.


I think it's going to be a bumpy ride for the next little while to be honest.
With Aptana integrating Radrails I imagine there'll be a few bugs like this
pop up, so apologies in advance.


Brad

Reply all
Reply to author
Forward
0 new messages