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
Currently, when a minihtml parse error occurs, there is no way to tell which package / in which plugin file (and where in the plugin i.e. line number) the invalid HTML came from.
Expected behavior
The console would show a file path and a line number for the minihtml engine's parse errors, maybe something similar to a Python traceback.
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 818, in run_
return self.run(edit)
File "C:\Users\Keith\AppData\Roaming\Sublime Text 3\Packages\User\example_minihtml.py", line 7, in run
raise Exception('Parse Error: code: Unexpected EOF')
Actual behavior
The console just shows the parse error with no package or location information.
Parse Error: code: Unexpected EOF
Steps to reproduce
Create a new plugin file
In the run method, enter self.view.show_popup('<')Enter
Execute the command (i.e. in the ST console type view.run_command('example')Enter)
Observe that the output in the ST console is Parse Error: code: Unexpected EOF
Wonder which plugin caused this parse error and where
Summary
Currently, when a minihtml parse error occurs, there is no way to tell which package / in which plugin file (and where in the plugin i.e. line number) the invalid HTML came from.
Expected behavior
The console would show a file path and a line number for the minihtml engine's parse errors, maybe something similar to a Python traceback.
Actual behavior
The console just shows the parse error with no package or location information.
Steps to reproduce
run
method, enterself.view.show_popup('<')
Enterview.run_command('example')
Enter)Parse Error: code: Unexpected EOF
Environment
(This was originally suggested on the forum)
The text was updated successfully, but these errors were encountered: