One of the struggles I have when I’m learning a new technology is that I’m very slow because I’m constantly switching to a browser to look up syntax, attributes and other language specifics before the mental “muscle memory” is formed. Good IDE support helps with this as the IDE makes suggestions that many times can let you find what you need without having to switch to a browser and look it up. Unfortunately, NativeScript is SO new that support from many today’s popular IDEs isn’t available yet.
I put that URL into my browser and saved the XSD file to a location on my hard drive. Then in my WebStorm settings, I went to Settings > Languages and Frameworks > Schemas and DTDs and clicked on the “+” button.
Then in the window that popped up, pasted the link to the XSD into the URI box, switched to the “Explore” tab below and browsed to the location where I’d saved the tns.xsd file and hit the OK button (see below).
Once I’d saved that, I went back to my main-page.xml file and as soon as I typed a “<“, I started getting XML tag and attribute suggestions.
This is a huge help to me when I’m trying to get a new technology “loaded” into my brain and become proficient with it. Many thanks to the Telerik folks for taking the time not only to create the XML schema document but make it available for developers to use!