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

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
armplinker
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 6
Joined: Mon Oct 08, 2012 9:48 am

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

Post by armplinker » Wed Apr 06, 2016 12:49 pm

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.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3451
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

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

Post by Albert Wiersch » Wed Apr 06, 2016 2:10 pm

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 CSE HTML Validator's editor:

Code: Select all

C:\Program Files (x86)\HTMLValidator160\cmdlineprocessor.exe -o "<filename>"
Image
Albert Wiersch

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3451
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

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

Post by Albert Wiersch » Wed Apr 13, 2016 4:18 pm

Hello,

I found a way to open a document in CSE 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.
Image
Albert Wiersch

Post Reply