ST2-Color-Console
ST2-Color-Console copied to clipboard
Not working in windows: quoted backslashes issue
os.path.join uses a backslash in windows, which results in an incorrrect string in Widget.sublime-settings, because the backslashes turn into escapes when quoted.
Quick fix: replace backslashes with double backslashes. In ColorConsole.py:
"syntax": \""""
widgetSettings += os.path.join(sublime.packages_path(), "ColorConsole", "Console.tmLanguage").replace('\\', '\\\\')
widgetSettings += """\",
+1 fortunately there are only couple slashes to fix