Open vinistock opened 5 months ago
This issue is being marked as stale because there was no activity in the last 2 months
As per the team discussion earlier today, we will move ahead with using RBS declarations for indexing core class (String, Integer, etc).
This branch includes a super simple script for how to retrieve declarations which I paired on with Soutaro during RubyKaigi.
My understanding of it is that we can basically just iterate over the declarations that the code returns and then build our index's entries and push them.
I've updated the description with tasks related to RBS.
We currently index all Ruby files bundled with the Ruby installation, but that doesn't cover all declarations available. Core classes like
Array
orString
are defined in C and thus we miss those declarations. We also miss gem declarations that are made in native extensions.We need to consider the performance, accuracy and maintenance costs of a few different approaches to decide how we're going to handle this: