-
Notifications
You must be signed in to change notification settings - Fork 151
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
go to declaration does not work within def #1430
Comments
right now our go-to-definition logic is on the frontend and doesn't handle this edge case. we can probably handle this in the same logic, but the longer term solution might be to move to a proper language-server |
Two additional things:
_x = 10
output = _x + 10 # fails on _x This is of course not interesting for a 2 line cell but for a 40 it is. |
A language server would miss out on the quick jump due to the DAG - so I think a combination of using the DAG and an LSP would probably be better. Right now F12 is instantaneous, would hate to lose that. |
I have a fix for private variables in #1425 |
works, sweet.
…On Tue, May 21, 2024 at 4:20 PM Myles Scolnick ***@***.***> wrote:
I have a fix for private variables in #1425
<#1425>
—
Reply to this email directly, view it on GitHub
<#1430 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYWFZPD5LX5TIZ3SZLESWE3ZDNC2TAVCNFSM6AAAAABIBRGGB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRSGYZDGOJRG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Alon Levy
Software Developer
Greenvibe
054-2395317
|
Describe the bug
Code to reproduce
Second variant: if you have a variable in a function body that is also used as a free variable (produced and consumed by cells) than go to definition will jump to it.
Code to reproduce second variant
Select the 'a' below line 4, then press F12, and you will jump to line 1.
Environment
latest git (installed with pip install -e ., and frontend built with make fe)
The text was updated successfully, but these errors were encountered: