Add error parser for typical QML runtime errors that make the error
outputs clickable. The error filter matches every string that starts
with a filepath, has a row and optionally als a column number.
Also provide unit tests for the most common QML runtime errors.
Details
Details
- Reviewers
kfunk - Group Reviewers
KDevelop - Commits
- R32:de37265e0536: Process QML runtime errors
R33:de37265e0536: Process QML runtime errors
added unit tests
Diff Detail
Diff Detail
- Repository
- R33 KDevPlatform
- Branch
- qmlErrorOutputProcessing
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Sorry, I'm not sure I agree to Sven's request.
Now with this approach, any line with a file path + line no. is considered an error in the output view and will be marked red. There can be false positives.
I'd manually add the possible QML error substrings as before + maybe catch sth. like path:line: \w+Error:.* (which matches any error, such as TypeError, ReferenceError, etc.)