Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Code completion with ruby DLTK
Code completion with ruby DLTK [message #533738] Sun, 16 May 2010 08:42 Go to next message
Jebe  is currently offline Jebe
Messages: 2
Registered: May 2010
Junior Member
Hey,

I am new to eclipse and was wondering if i do something wrong.

Installed the ruby dltk using ruby1.9.1 as interpreter and then I tried some cheap stuff and noticed that the code completion for Strings for examples doesn't show any of the ordinary string methods. I get a lot of other stuff popping up so code completion is working it just doesn't show anything useful for Ruby.

Went through the preferences but couldn't find anything there like "advanced"code completion for Ruby.

I have this problem just with eclipse. Netbeans and other editors are working without a prob.

Thx for helping me

/Jebe
Re: Code completion with ruby DLTK [message #533742 is a reply to message #533738] Sun, 16 May 2010 10:07 Go to previous messageGo to next message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
Hi Jebe,

Could you please provide more details:
- what DLTK version you'd installed
- the example source code to reproduce the issue

Thanks,
Alex
Re: Code completion with ruby DLTK [message #533746 is a reply to message #533742] Sun, 16 May 2010 11:41 Go to previous messageGo to next message
Jebe  is currently offline Jebe
Messages: 2
Registered: May 2010
Junior Member
Hi,

as I said I just tested stuff.

Take "whateverstring". <<<here should all the string methods show up, take length for example, but there are not coming up. Is it not supported or how can i fix this?

/Jebe

String Methods
% * + << <=> == =~ [] []= block_scanf capitalize capitalize! casecmp center chomp chomp! chop chop chop! chop! concat count crypt delete delete delete! delete! downcase downcase! dump each each_byte each_char each_line empty? end_regexp eql? gsub gsub! hash hex include? index initialize_copy insert inspect intern iseuc issjis isutf8 jcount jlength jsize kconv length ljust lstrip lstrip! match mbchar? new next next! oct quote replace reverse reverse! rindex rjust rstrip rstrip! scan scanf size slice slice! split squeeze squeeze squeeze! squeeze! strip strip! sub sub! succ succ succ! succ! sum swapcase swapcase! to_f to_i to_s to_str to_sym toeuc tojis tosjis toutf16 toutf8 tr tr tr! tr! tr_s tr_s tr_s! tr_s! unpack upcase upcase! upto


Dynamic Languages Toolkit - Ruby Development Tools
1.0.0.v20090610-1638-7B--E_EkMO1PJYsAZIz-C
org.eclipse.dltk.ruby.feature.group
Re: Code completion with ruby DLTK [message #535355 is a reply to message #533746] Sat, 22 May 2010 13:23 Go to previous message
Alex Panchenko is currently offline Alex Panchenko
Messages: 342
Registered: July 2009
Senior Member
Hi Jebe,

It was ruby 1.9 compatibility issue, I've just fixed it in CVS, so next integration build should work.

Thank you for reporting it.

Regards,
Alex
Previous Topic:[BUILD] I-I201005201520-201005201520
Next Topic:[BUILD] I-I201005231743-201005231743
Goto Forum:
  


Current Time: Wed Aug 27 09:18:04 EDT 2014

Powered by FUDForum. Page generated in 0.01778 seconds