The Schema at http://schemas.nativescript.org/tns.xsd seems to be outdated as it doesn't support this code from the docs
<ActionBar class="action-bar">
<Label class="action-bar-title" text="Home">
</Label>
</ActionBar>
The tooling for NativeScript is pretty poor and it's petty because I really like the framework 馃槓
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
@pushqrdx thanks for bringing that into our attention - we will take a look at this one and I will post any related info here.
Meanwhile, you could use a VSCode extension to get not only tag insertion but the insertion of tag along with their specific attributes. For example, here is an XML one and here is one for Angular based applications.
@NickIliev having the XSD will just improve the workflow drastically. l use vue and having no intellisense support at all makes for a very unpleasant experience. especially having to jump back and forth between the code and the docs to figure out each component props/events.
@pushqrdx that's true the experience could be worst if they dont fix that issue. I have created a extension for VScode to handle this problem with snippet with all the attributes you need and more nativescript feature am still working on. Try Nativescript Extend I promise you wont regret it.
@ehigiepaul It's so ironic that the community provides better tooling than the team xD
I have updated the XSD scheme file but how to integrate it into vscode is a problem for me. And am planing to add it to my extension with more features. Please can anyone tell me how to add a scheme to vscode.
@ehigiepaul VSCode should, out of the box, provide intellisense for XSD namespaces just by importing them at the top of any XML file.
Am done with the update xsd schema and it now added into Nativescript Extend
try it out.
Most helpful comment
Am done with the update xsd schema and it now added into Nativescript Extend
try it out.