We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PackageDev currently doesn't correctly recognize syntax test files with partial-symbols in the meta line as syntax test files.
partial-symbols
# SYNTAX TEST partial-symbols "Dockerfile.sublime-syntax"
Subsequently, there are no completions when pressing Tab after a # in a file with this header.
#
I guess there is something wrong with this line: https://github.com/SublimeText/PackageDev/blob/master/plugins/syntaxtest_dev.py#L35
indeed, executing this in the ST Python console shows None:
None
import re syntax_test_header_regex = re.compile( r'^(?P<comment_start>\s*.+?)' r'\s+SYNTAX TEST\s+' r'(?P<test_mode>(?:partial-symbols|(?:reindent(?:-un(?:indented|changed))?)\s+)*)' r'"(?P<syntax_file>[^"]+)"' r'\s*(?P<comment_end>\S+)?$' ) first_line = '# SYNTAX TEST partial-symbols "Dockerfile.sublime-syntax"' print(syntax_test_header_regex.match(first_line))
The text was updated successfully, but these errors were encountered:
Looks like whitespace isn't matched properly.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
PackageDev currently doesn't correctly recognize syntax test files with
partial-symbols
in the meta line as syntax test files.Subsequently, there are no completions when pressing Tab after a
#
in a file with this header.I guess there is something wrong with this line:
https://github.com/SublimeText/PackageDev/blob/master/plugins/syntaxtest_dev.py#L35
indeed, executing this in the ST Python console shows
None
:The text was updated successfully, but these errors were encountered: