-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signature help with nested parentheses displays wrong argument from argument list #87
Comments
This is part of the Signature help feature and I agree it needs work. The problem is that understanding literal nested scopes i.e. [2, 4, 5] or ar(1, 3) is a bit problematic. A while back I fixed this for simple literals (with the exception of complex numbers i think), but nesting them seems to be a big issue. I have functions that are aimed at figuring these things out but robustly doing so is a bit of an issue. |
@gnikit , BUT, it is reproducable in fortls So, could you advise me how to set unittest or set special flag to see both lines ( vriable and argument)? |
@folk85 you can trigger the signature help, when you are typing the arguments of a function/subroutine and press |
Yes, i see the signature help during typing, but i could not understand how generate unittest for this bug in dev build |
Might want to have a look here to get some ideas https://github.com/fortran-lang/fortls/blob/master/test/test_server_signature_help.py |
Highlighting of current paramter in signature help is broken.
This is happening only when the paramters are provided a way that involves a
,
.In this case by accessing a value of an array.
The text was updated successfully, but these errors were encountered: