Context
Follow-up to Shopify/rubydex#794 which makes self type required for completion.
After that PR lands, the Ruby LSP needs to pass the self_receiver when requesting completions so that completion works correctly inside class/module bodies.
Completion is currently incorrect in class/module bodies for constants, class variables, methods, and instance variables.
Tasks
References
Context
Follow-up to Shopify/rubydex#794 which makes self type required for completion.
After that PR lands, the Ruby LSP needs to pass the
self_receiverwhen requesting completions so that completion works correctly inside class/module bodies.Completion is currently incorrect in class/module bodies for constants, class variables, methods, and instance variables.
Tasks
self_receiverto Rubydex completion requestsReferences