You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow range selection on function parameter to select a parameter list (#19777)
Fixesscalameta/metals#5894.
- Add selection range for a parameter list in a function/method.
Given a query as
```scala
def func(a@@: Int, b: Int)(c: Int) =
a + b + c
```
range selection will now let you choose `a: Int, b: Int`.
The previous options are `a: Int` and the whole definition of `func`.
- Add a new test for selection range on function parameters.
0 commit comments