vscode-solargraph icon indicating copy to clipboard operation
vscode-solargraph copied to clipboard

Only import Class definitions when they are actually imported in the Ruby code

Open garyking opened this issue 7 years ago • 1 comments

Right now, SolarGraph imports ALL Class definitions from the current workspace. Please instead only make it work when the class is actually imported via the Ruby code, with require/require_relative.

This might be a long-term aspirational goal? But would be ideal to have at some point.

garyking avatar Mar 20 '18 01:03 garyking

Yeah, it's fair to call this long-term aspirational. It's on the roadmap, but there are a lot of cases to consider that make it decidedly non-trivial.

castwide avatar Mar 20 '18 07:03 castwide