I've been trying out Ruby in Steel using VS2005 SP1, and I found a few oddities.
I tried this simple test script:
$glob = "glob"
class Test
def initialize
@var = 1
if $global == "glob" then
puts("Bla")
else
printf("bla")
end
end
def do_stuff
@var = 2
puts("did stuff")
end
end
test = Test.new
It seems that Intellisense wasn't doing all it's supposed to do: the completion list didn't show $glob and the class name Test, and there was no parameter tooltip for puts (but the name of the function did appear in the completion list).
Also, I tried to define a bunch of functions outside a class, and they didn't show up in the completion list. However, if I moved the same functions into a class, they did appear. When editing these functions, I didn't get the names of their parameters in the completion list either.
Is there anything wrong with my script, or is it expected behaviour?