You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see the error messages when errors occur while running Tidy, but there does not seem to be a way to do this. I set the "show-errors" in the configuration to a very high number and that did not work.
Looking though the code I noticed this:
On line 335 - 338 (in the master branch at the date of creating this issue) of /NppTidy2/Tidy2/PluginMain.cpp the following is written:
if (errorCount > 0)
{
::MessageBox(nppData._nppHandle, _T("Errors were encountered tidying the document"), _T("Tidy Errors"), MB_ICONERROR | MB_OK);
}
This suggests that no error messages would ever be shown to the user and there does not appear to be any way to get Tidy to export to a log file. Can this be fixed to either show or log error messages so the problems can be known instead of just seeing a message that errors had occured?
Suggestion: Like the XML Tools plugin: show the last error. I also suggest showing "Error 1 of X" since it seems to count the total number of errors.
The text was updated successfully, but these errors were encountered:
I would like to see the error messages when errors occur while running Tidy, but there does not seem to be a way to do this. I set the "show-errors" in the configuration to a very high number and that did not work.
Looking though the code I noticed this:
On line 335 - 338 (in the master branch at the date of creating this issue) of /NppTidy2/Tidy2/PluginMain.cpp the following is written:
This suggests that no error messages would ever be shown to the user and there does not appear to be any way to get Tidy to export to a log file. Can this be fixed to either show or log error messages so the problems can be known instead of just seeing a message that errors had occured?
Suggestion: Like the XML Tools plugin: show the last error. I also suggest showing "Error 1 of X" since it seems to count the total number of errors.
The text was updated successfully, but these errors were encountered: