Type and method introspection not working
divmgl opened this issue · 1 comments
divmgl commented
So I've defined an argument of type String
in my function:
module Jackd::Validation
def validate_tube_name(name : String)
end
end
But when I go to use the name
variable, I get these class Object
methods available to me:
What's also weird is that when I go to use one of these methods, I have no details as to the parameters these methods accept:
It's just blank.
Expected behavior
- I can see all of the methods that are available to
String
objects in the stdlib. - When using a method, I can see its parameters and any comments for those parameters.
Desktop (please complete the following information):
- OS: macOS
- Crystal version: Crystal 1.4.1 (2022-04-22)
- This plugin version: 0.6.0
nobodywasishere commented
Are you using Crystalline? If not I'm not sure if method autocomplete is within the scope of this extension, as it will require something on the level of an LSP to accomplish