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
A traceback occurs when typing - following a syntax test token and <, if there are no syntax test assertions on the line above:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1082, in run_
return self.run(edit, **args)
File "C:\Users\keith\AppData\Roaming\Sublime Text 3\Packages\PackageDev\plugins_\syntaxtest_dev.py", line 355, in run
col_start, col_end = lines[0].assertion_colrange
IndexError: list index out of range
i.e.
open Packages/Python/tests/syntax_test_python.py
place the caret at EOF
type blahEnter so that there is a line without a syntax test assertion on it
type # <-
notice that it doesn't autocomplete the scope selector
open the ST console
see the traceback
the problem likely lies here, where it removes the first line from the list:
A traceback occurs when typing
-
following a syntax test token and<
, if there are no syntax test assertions on the line above:i.e.
Packages/Python/tests/syntax_test_python.py
blah
Enter so that there is a line without a syntax test assertion on it# <-
the problem likely lies here, where it removes the first line from the list:
PackageDev/plugins_/syntaxtest_dev.py
Lines 350 to 353 in c42fd54
to prove it, you can then press End (so that the
-
isn't selected), press Enter and type#<-
again, and this time it works.The text was updated successfully, but these errors were encountered: