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

Create clickable links when copying text into the log pane #2593

Closed
edreamleo opened this issue Apr 10, 2022 · 0 comments
Closed

Create clickable links when copying text into the log pane #2593

edreamleo opened this issue Apr 10, 2022 · 0 comments
Assignees
Milestone

Comments

@edreamleo
Copy link
Member

edreamleo commented Apr 10, 2022

See PR #2596.

Motivation: It is sometimes easier to run pylint and mypy entirely outside Leo. Rather than rerunning pylint or mypy inside Leo (to get clickable links) it would be more convenient to copy any errors from the console to Leo's log pane.

The paste code will match each pasted line against a list of regexes, creating a clickable link when a regex matches.

As a security precaution, the list of regexs will be limited to error messages emitted by known tools: python, pylint, pyflakes, black, and mypy. Later PR's could extend this list.

@edreamleo edreamleo added this to the 6.6.1 milestone Apr 10, 2022
@edreamleo edreamleo self-assigned this Apr 10, 2022
edreamleo added a commit that referenced this issue Apr 12, 2022
PR for #2593: create clickable links when pasting into log pane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant