I have downloaded a few plugins for .rhtml formatting.
I have installed them and followed the howto's but have had no success
in getting them to work.
I am working in Eclipse.
I have set the editor to RHTML for the .rhtml extensions.
But when I right click on a opened .rhtml file I do not get the
"Source > Format" option I get in in .rb files.
This is so frustrating manually tabbing when I edit the .rhtml files
for AS.
Has anyone got this working.
Thanks for the help.
Uncle Mike
I think you need Aptana RadRails...
Let me check it out.
I have it installed but let me first try and edit the Eclipse settings.
Does anyone reformat their .rhtml files a different way.
The problem is that I get no Source > Format option when I right click
any .rhtml file.
Not being an AS issue, you may get an answer on the Ruby on Rails:Talk
group :-)
I am now taking 3rdRail, the commercial IDE from CodeGear for a drive.
Yes, the is a format source open when one right clicks in a rhtml
file.
Why don't you download the trial and check it out ?
Before you can ask, Yes, 3rdRail is also eclipse-based.
You should also take a serious look at nbrubyide which appears to have
great editors for
a) rhtml
b) css
c) rb
All 3 have code formatters but nbrubyide is not eclispe based.
> > any .rhtml file.- Hide quoted text -
>
> - Show quoted text -
Aptana's code complete, go to declaration, combined with eclipse's textual
complete are great enough for me. Plus, radrails gives you a neat little
tool for running unit tests that kicks the pants off running them in a
console window.
Tim
On Sep 30, 4:23 am, "Tim Harper" <timchar...@gmail.com> wrote:
> Lemme chime in here and say I love aptana radrails. I tried 3rdRail, and it
> felt "clunky". The code complete is excellent in it, but it's also pretty
> slow.
cch: I agree...
>
> Aptana's code complete, go to declaration, combined with eclipse's textual
> complete are great enough for me. Plus, radrails gives you a neat little
> tool for running unit tests that kicks the pants off running them in a
> console window.
cch: Did you check out the "Moving from Aptana to 3rdRail" and the
"Code Completion - How Complete ?" threads in Ruby on Rails : Talk
Google Group ? If not check it :-)
> > - Show quoted text -- Hide quoted text -
All that was needed was to refresh the actual project by right
clicking an selecting refresh.
Simple mistake actually.
I am sure others out there use Eclipse so I have mentioned this to
help them.
What is strange is that Eclipse does not refresh the project when
restarted.
CASE CLOSED
Uncle Mike
What exactly are you using as a Rails/Ruby IDE ?
Eclipse fro Rails ?