I have a custom build system for HTML & javascript files to check JS syntax.
"cmd": "sharplinter", "-ph","best","*.min.js", "$file"],
"file_regex": "^(.*?)\\(([0-9]+)\\): ()(.*)$",
"selector": "source.html|source.htm|source.js"
On one of my computers it works fine. On another one it works erratically. Both are Windows 7 64 bit. Sometimes it works, other times it gives me a “no build system error.” I can’t seem to make out any pattern for when it works and when it doesn’t. This is the latest build 2181. Any ideas?
By the way, I am not even sure if the syntax for “selector” is correct for multiple file extensions because it doesn’t seem to be documented, and even after much googling I couldn’t find an example. But this was what worked after trying a few different things. Perhaps this is part of the problem.