Alexandre Terrasa
Alexandre Terrasa
* Make plugin ignore classes that inherit from `Minitest::Test` instead of those ending with `Test` * Modified the `on_define_method` method to ignore methods starting with `test_` or included in the...
### Description Follow up to https://github.com/Shopify/ruby-lsp/issues/1046 and https://github.com/Shopify/ruby-lsp/pull/2103. We currently handle `textDocument/prepareTypeHierarchy request` and `typeHierarchy/supertypes` requests but the structure of the index doesn't allow for easy descendants lookup. A partial...
To represent `T::Enum` subclasses like this one: ```rb class MyEnum < T::Enum enums do # Some comments A = new B = new end end ``` We currently use a...
Consider the following `file.rb`: ```rb # typed: strict class Foo sig { returns(String) } attr_reader :x sig { params(x: String).void } def initialize(x) @x = x end end ``` We...
Hi there, I'm having some weird behavior when trying to use the `unary -` operator on integers with calls. Example: ``` nit print -1.to_s ``` I got: ``` Error: method...
As shown in the screen below, no icon is displayed when selecting the maybe option. 
Migrate all the remaining uses of `sorbet-runtime` constructs and remove the dependency.
Follow up on https://github.com/Shopify/rbi/pull/408#issuecomment-2755037767. In the context of an RBI file, does it really make sense to hold the value of constants? This PR proposes to change `Const` so it...
#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20strict%0A%0Aclass%20A%0A%20%20extend%20T%3A%3AGeneric%0A%0A%20%20E%20%3D%20type_member%0Aend%0A%0AA.new%20%23%20No%20error%3F%20A%20should%20require%20type%20argument%20like%20%60A%5BFoo%5D%60) ```ruby # typed: strict class A extend T::Generic E = type_member end A.new # No error? A should require type argument like `A[Foo]` ```...