solargraph: Intellisense for Functions is not working
Environment:
- vscode-ruby version: 0.16.0
- VS Code version: 1.16.1
- Ruby-Solargraph: 0.12.0
Description: My Ruby Project Structure contains Page Object files in which I will be writing function Definitions inside Modules. So for each function definitions I will be writing the Function Description in Yaardoc format. The issue here is previously when I tried to use the definitions in my test case I used to get the Description/quick info of the methods and also all the definitions inside module as suggestions.
But, since one month I am not getting any function suggestions or the description of the functions. I explored if there are any issues filed and the reasons for it but unfortunately I could not figure it out.
Can someone please help me out the reason for this.
Sample Function: ProjectName/PageObjects/Hello.rb
module ModuleName
# funName: Description of the Function
# @param [String] param1
# @param [String] param2
def funName(param1,param2)
begin
# My function definition here
end
end
end
FYI: I tried to create a .solargraph.yml file and it contains
include:
- ./**/*.rb
exclude:
- spec/**/*
- test/**/*
Can someone help me out the reason for this issue.
Thanks! in advance.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (9 by maintainers)
I tried uninstalling solargarph many times but it did not resolved any issues but after uninstalling the Ruby and reinstalling it worked for me.
Thank you so much for the quick response and help.
Regards, Santhoshi