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
{{ message }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
Using language server? (eg useLanguageServer is true in your configuration?) yes
Expected behavior
parameters must be correctly highlighted.
multiline parameters must be supported.
Actual behavior
Code for test
# Testarea for methods without parameters.defmethod;hello,world=[1,2]end# test commentdefmethod# test commenthello,world=[1,2]end# Testarea for methods with parentheses.defmethod_with_parentheses(*a, **b, &c)hello,world=[1,2]end# test commentdefmethod_with_parentheses(a,b,c=[foo,bar,baz])hello,world=[1,2]end# test commentdefmethod_with_parentheses(a,b,c=[foo,bar,baz])# test commenthello,world=[1,2]enddefmethod_with_parentheses(a,b="hello",c=["foo","bar"],d=(2 + 2) * 2,e={})# test commenthello,world=[1,2]do_something1do_something2enddefmethod_with_parentheses(a,b=hello,# test commentc=["foo",bar,:baz],d=(2 + 2) * 2,e={})hello,world=[1,2]do_something1do_something2end# Testarea for methods without parentheses.defmethod_without_parenthesesa,b,c=[foo,bar,baz];hello,world=[1,2]end# test commentdefmethod_without_parenthesesa,b,c=[foo,bar,baz]# test commenthello,world=[1,2]enddefmethod_without_parenthesesa,b="hello",c=["foo","bar"],d=(2 + 2) * 2,e=""# test commenthello,world=[1,2]do_something1do_something2enddefmethod_without_parenthesesa,b="hello",# test commentc=["foo",bar,:baz],d=(2 + 2) * 2,e=proc{ |e| e + e}hello,world=[1,2]do_something1do_something2enddefmethod_without_parentheses *a, **b, &c;hello,world=[1,2]end# test commentdefmethod_without_parentheses *a, **b, &c# test commenthello,world=[1,2]end
Big screenshot
As you can see there are a lot of mistakes in highlighting.
And there is also leaking of scope meta.function.method.with-arguments.ruby.
The text was updated successfully, but these errors were encountered:
Your environment
vscode-ruby
version: 0.27.0useLanguageServer
is true in your configuration?) yesExpected behavior
parameters must be correctly highlighted.
multiline parameters must be supported.
Actual behavior
Code for test
Big screenshot
As you can see there are a lot of mistakes in highlighting.
![Screenshot from 2020-10-11 18-46-36](https://user-images.githubusercontent.com/56965223/95683157-2ffc7f00-0bf2-11eb-8457-3550258a5fdd.png)
And there is also leaking of scope
meta.function.method.with-arguments.ruby
.The text was updated successfully, but these errors were encountered: