Skip to content
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 Definition" doesn't work on Python functions in ren'py #379

Open
timmbobb opened this issue Sep 8, 2023 · 0 comments
Open

"Go to Definition" doesn't work on Python functions in ren'py #379

timmbobb opened this issue Sep 8, 2023 · 0 comments

Comments

@timmbobb
Copy link

timmbobb commented Sep 8, 2023

I think it's pretty obvious why this would be useful when working on ren'py projects that have extreme amounts of python in them. When using the pylance and python extensions, you can right click a python function in a rpy file and go to that function's definition. After installing this extension, the pylance go to definition function is getting overridden I believe by the ren'py language extension. The only thing the go to definition works for is going to labels.

image

It would be nice if you could either just disable the ren'py language go to definition functionality, or use it in addition to the pylance go to definition.

image

I believe this is the code that is responsible for this but I don't know enough about extensions to be sure.

@timmbobb timmbobb changed the title Go to Definition doesn't work on Python functions in ren'py "Go to Definition" doesn't work on Python functions in ren'py Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant