Page 1 of 1

Integrate CSS HTML Validator with Visual Studio (2013,2015)

Posted: Wed Apr 06, 2016 12:49 pm
by armplinker
I see the instructions for integrating with various text editors, although I am a bit surprised to not see Sublime there. What I also would like to do is invoke the product from within the Visual Studio IDE. Is there a FAQ/How-To for that? Thank you.

Re: Integrate CSS HTML Validator with Visual Studio (2013,2015)

Posted: Wed Apr 06, 2016 2:10 pm
by Albert Wiersch
Hello,

We don't have anything specific for Sublime or Visual Studio yet on our integration page, but I will look into adding information for those programs.

It's easy to open the editor in any program that allows you to run a command. You just need to run a command like this to open a file in CSS HTML Validator's editor:

Code: Select all

C:\Program Files\HTMLValidator220\cmdlineprocessor.exe -o "<filename>"

Re: Integrate CSS HTML Validator with Visual Studio (2013,2015)

Posted: Wed Apr 13, 2016 4:18 pm
by Albert Wiersch
Hello,

I found a way to open a document in CSS HTML Validator from Sublime Text:
https://www.htmlvalidator.com/htmlval/i ... ublimeText

And to show the validation results in Sublime's console window:
https://www.htmlvalidator.com/htmlval/i ... ublimeText

And open a document from Microsoft Visual Studio:
https://www.htmlvalidator.com/htmlval/i ... sualStudio

Is this what you were wanting?

Strangely and unfortunately, Visual Studio disables the 'Use Output window' option for exe's so a workaround would be needed to show validation results in Visual Studio's output window.