Ticket #213 (closed enhancement: not relevant)

Opened 5 years ago

Last modified 2 years ago

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@…


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:

  1. 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)
  2. 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

comment:1 Changed 2 years ago by azawawi

  • Status changed from new to closed
  • Resolution set to not relevant

Outdated. Padre supports this already in Syntax Check.

Last edited 2 years ago by azawawi (previous) (diff)
Note: See TracTickets for help on using tickets.