hello all, as I am exploring ruby/rails functionality
how do you research ruby/rails code?
cause you can’t ctrl click to navigate to relate code like in Java IDE,
and I checked out GNU Global but it seems only handle C/C++ code
not ruby code(while good for examing C part of ruby source).
So how to you explore or research ruby/rails code?
On 22 Aug 2006, at 16:02, femto femto wrote:
hello all, as I am exploring ruby/rails functionality
how do you research ruby/rails code?
cause you can’t ctrl click to navigate to relate code like in Java
IDE,
and I checked out GNU Global but it seems only handle C/C++ code
not ruby code(while good for examing C part of ruby source).
So how to you explore or research ruby/rails code?
I’m not sure exactly what you are asking for but by the sounds of it,
you’re asking how to navigate ruby on rails code? I think that
depends on what platform and development environment you are using.
If could be worth you checking out RadRails (www.radrails.org) which
is a Rails-oriented IDE based on Eclipse. If you are Mac/OSX based,
then it could be worth taking a look at Textmate (www.macromates.com).
Hope this is relevant/helpful
Alastair
Alastair M.
Standards compliant web development with Ruby On Rails, PHP and ASP
www.kozmo.co.uk
07738 399038
hello Alastair ,
I’m using RadRails,
but I can’t navigate to the source of method,
like when developing java in Idea or Eclipse,
you can ctrl + click one method to navigate
to its definition, it’s very convenient for you
to see the source of other open-source project
or jdk’s source.So I want to ask how to do this in
ruby/rails related environment.
(don’t know whether I clarify these,
I will give a example,
say, I’am following the ‘agile web development with rails’
and generate scaffold of Product,
and I am wondering what happen behind the scenes,
so i open the new.rhtml, _form.rhtml to see,
and see _form.rhtml invoke text_field ,text_area method,
and I want to follow into these method to see exactly
what these method does.Regards
On 8/22/06, Alastair M. [email protected] wrote:
how do you research ruby/rails code?
–
Best Regards
femto http://femto.blogdriver.com
femto femto wrote:
how do you research ruby/rails code?
cause you can’t ctrl click to navigate to relate code like in Java IDE
Try exuberant ctags: http://ctags.sourceforge.net. It can handle
countless
languages, and the tag format is recognized by most power editors. In
emacs you would do M-. RET (that’s alt-. enter), in vi it would be C-].
Other editors like jedit, crisp, ultredit can also make use of the ctags
output.
Zsombor
–
Company - http://primalgrasp.com
Thoughts - http://deezsombor.blogspot.com