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

Initial hyperlink implementation. #97

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stuaxo
Copy link

@stuaxo stuaxo commented Aug 27, 2019

Initial implementation of hyperlinks, set BETTER_EXCEPTIONS_HYPERLINKS=1 to activate.

This is not as useful as I expected as there line numbers can't be implemented yet [1], I'd probably still use this though.

I assume this needs tests, I haven't looked at how to do these yet.

[1]
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#gistcomment-2872221

TODO: Don't output hyperlink for filenames like <console>

Initial implementation of hyperlinks, set BETTER_EXCEPTIONS_HYPERLINKS=1 to activate.
@stuaxo stuaxo changed the title Update formatter.py Initial hyperlink implementation. Aug 27, 2019
better_exceptions/formatter.py Outdated Show resolved Hide resolved
@stuaxo
Copy link
Author

stuaxo commented Sep 28, 2019

Silly question, if I click `resolve conversation' will it apply the suggested change?

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

Successfully merging this pull request may close these issues.

3 participants