SublimeMSBuild
SublimeMSBuild copied to clipboard
SyntaxWarning: invalid escape sequence \$ in msbuild_completions.py (Python 3.12+)
Python 3.14 prints a SyntaxWarning when the plugin loads: invalid escape sequence "\$" in msbuild_completions.py.
Steps (Sublime Text 4, build 4215, Python 3.14.6 host, MSBuild 1.3.0): install the package and watch the console when it loads.
Result:
msbuild_completions.py:601: SyntaxWarning: "\$" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\$"? A raw string is also an option.
Cause: line 601 of msbuild_completions.py uses "\$" in a non-raw string. Use "\\$" or a raw string. Python 3.12+ reports this; it is a future SyntaxError.