Since this command basically just opens the current document being edited (saving it first it seems), is there a way to suppress the panel from being opened?
Install Console Exec and modify build settings to
{
"cmd": ["start", "C:\\Program Files (x86)\\HTMLValidator160\\cmdlineprocessor.exe", "-o", "${file}", "&&", "exit"],
"selector": "text.html",
"target": "console_exec" // this will start the build system with Windows' CMD window rather than a ST panel
}
Also, do you know if there is an easy way to add a command that does the same thing to Sublime without using the build system?
Write a plugin. Start a process by Popen
or whatever.
The build system works but it’s not really a build and seems more like a type of “hack”.
Build system could have variants. ST uses it to do syntax check / syntax performance test / syntax regex compatibility test / etc… I don’t think it’s an inappropriate “hack.”
variants
example:
{
"cmd": ["node", "${file}"],
"working_dir": "${file_path}",
"selector": "source.js",
"variants": [
{
"cmd": ["closure-compiler.jar", "--js", "${file}", "--js_output_file", "${file_base_name}-compiled.js"],
"name": "Minify"
},
]
}
I can either execute js files or compress them with the build system. It’s selectable.
Finally, is there a way I can contact you privately? Or you could email me at support at htmlvalidator dot com? Thanks again.
I guess no. I am not your private counselor. And other people don’t benefit from it if I contact you privately. Moreover, I am not the only person who could help you here. 