We are working on a gaming framework where we can do two things:
- Define interactions and game logic with an XML file, that is validated by an XSD schema we have created
- Include JavaScript code within this XML file for running arbitrary scripting logic
What we are looking for is an IDE that can give us code completion against our XSD and the JavaScript that can be typed inline in an XML attribute or element just like is possible inside an HTML document. Loading/referencing external JavaScript files would be a great feature, too.
The Visual Studio 2015 HTML Editor does exactly what we want. We just need it to validate against our custom XSD instead of the built-in HTML5 one that it uses by default.
One thing I've found of particular interest is a set of files in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Packages\schemas\html
. There appear to be built-in XSD files VS 2015 uses for the HTML editor. I can't find documentation on how to modify these, however.
Any links or documentation on how to do this? We are also completely open to use another editor besides Visual Studio.