-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Default Python Problem Matcher #3828
Comments
I thought a regex like this was going to work: |
I had some success with something like this:
I've got it to match using:
Not the most elegant solution and I haven't tested it thoroughly yet but shows promise thus far 😄 Guessing it'll over report on errors that are re-raised but without allowing the |
We are going through old issues and we noticed that no one from the team had replied to this issue. I want to apologize for the oversight and to let you know that the issue was reviewed by the team and triaged (as shown by the labels applied to this issue). |
@brettcannon Any update on this issue? Thanks! |
Sorry, no update. If we start work on this then the labels and assignment will reflect that (unless someone provides us a PR for this). |
updates? |
No updates, although it's on our roadmap, so it won't be forgotten. When there's something to share we will leave a comment here. |
This comment was marked as outdated.
This comment was marked as outdated.
Why is this comment marked as outdated? |
@tfgstudios because in #3828 (comment) I said we would post to this issue when there are updates, so a post consisting of just "updates?" is "outdated" because it didn't take my previous comment into consideration. I purposefully put that comment there so people wouldn't ping for updates as that notifies 11 different people that someone is asking for something for which the answer is, "there are no updates; we will post when there are any." Multiply this across our entire repo and the amount of time spent on these sorts of update requests when we have said we will post when we have something to share does add up. |
Has anyone come up with a problemMatcher string that works for Django/python in the meantime? |
Would be also nice if there would be also default problem matchers for different pytest traceback formats: https://docs.pytest.org/en/stable/how-to/output.html#modifying-python-traceback-printing although the native python one is a good starting point. |
Environment data
Feature Request
According to https://code.visualstudio.com/docs/editor/tasks#_defining-a-problem-matcher
There a list of many built-in problem matchers but there isn't one for Python.
Because of this, every task created it's easier to ignore the scanning output. If it was provided a default Python problem matcher out of the box, it would be pretty easy to use.
For this purpose, scanning exceptions should be good enough, and probably there is already one of this written for the debugger.
I can try to do this myself later, as it seems just to find an already done implementation in this repo and figure it out how to provide a default problem matcher.
The text was updated successfully, but these errors were encountered: