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

Path from check_shapes error message #4

Open
frgsimpson opened this issue May 3, 2022 · 2 comments
Open

Path from check_shapes error message #4

frgsimpson opened this issue May 3, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@frgsimpson
Copy link
Contributor

frgsimpson commented May 3, 2022

The stack trace triggered by check_shapes contains a path to the offending line of code, but that path doesn't appear as a hyperlink in PyCharm, so it currently requires manual navigation.

image

@frgsimpson frgsimpson added the bug Something isn't working label May 3, 2022
@jesnie jesnie changed the title Path from Checkshapes error message Path from check_shapes error message May 3, 2022
@jesnie jesnie added enhancement New feature or request and removed bug Something isn't working labels May 13, 2022
@jesnie
Copy link
Member

jesnie commented Jun 6, 2022

Based on:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360008765160-Run-debug-window-logs-clickable-links-for-file-path
I think this would require writing a plug-in for PyCharm (IntelliJ). Documentation here:
https://plugins.jetbrains.com/docs/intellij/welcome.html

I don't think that will be within scope for the near/medium future.

@frgsimpson
Copy link
Contributor Author

Or if we slightly modified the output format, we don't need a plugin:

https://stackoverflow.com/questions/26300594/print-code-link-into-pycharms-console/58522215#58522215

@jesnie jesnie removed their assignment Sep 23, 2022
@jesnie jesnie transferred this issue from GPflow/GPflow Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants