Ticket #213 (closed enhancement: not relevant)
Show if error is warning or fatal in error list
| Reported by: | pshangov | Owned by: | pshangov |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | 0.22 |
| Keywords: | Cc: | pshangov@… |
Description
Currently the error list does not show if an error is a warning or fatal.
This is kind of tricky to implement for runtime errors generated by the user, since two scripts containing "die 'An error'" and "warn 'An error'" will produce the same output. There are two solutions I am thinking of:
- Padre could grab the exit code of the script and this could possibly be used to figure out which error is what (I am not yet quite sure how though)
- Currently Padre can run scripts with "perl -Mdiagnostics(-t)" to provide stack traces in the error list. I could write a custom module instead that overrides die and warn and not only provides stack trace, but also helps me figure out the type of each error.
Any suggestions/help are welcome.
Change History
Note: See
TracTickets for help on using
tickets.

Outdated. Padre supports this already in Syntax Check.