NativeScript 2.0 Supports Visual Studio Code, TypeScript

Major update to cross-platform framework for building native apps includes support for Visual Studio Code and TypeScript, as wel as AngularJS, Maven, and CocoaPods.

Telerik last week released NativeScript 2.0, a major update to its cross-platform framework for building native apps. The latest revision includes support for TypeScript and Visual Studio Code, as well as a bevy of features outside the Visual Studio ecosystem.

At its esssence, NativeScript 2.0 allows for development of native apps in JavaScript, AngularJS, . The company says no bridge solution is necessary in order to access native iOS, Android or Windows APIs via JavaScript through the NativeScript interface.

NativeScript 2.0's Visual Studio Code support allows for developing and debugging of native apps through the VS Code UI, which means developers are able to view IntelliSense hints, get variable introspection and work through debugging breakpoints in an interactive manner. That support comes by way of an extension that's available for download here or by searching through the Visual Studio Marketplace.

For those who prefer developing native apps with JavaScript, NS includes full support for TypeScript as well.

The new version of NativeScript also supports includes a NativeScript Runtime engine, which was released back in mid-march. A Telerik blog post that announced the runtime notes that the runtime engine is being open sourced, and that it will support Windows apps running on Windows 10. What NativeScript Runtime allows is JavaScript to make calls to Windows Runtime APIs. It's currently a preview, so the company warns that it should only be used for testing and evaluation.

Outside of the VS ecosystem, the company also announced support for AngularJS, native animations through CSS reuse, hundreds of extensions and plugins, and support for native library repositories (inclulding Maven and CocoaPods).

About the Author

You Tell 'Em, Readers: If you've read this far, know that Michael Domingo, Visual Studio Magazine Editor in Chief, is here to serve you, dear readers, and wants to get you the information you so richly deserve. What news, content, topics, issues do you want to see covered in Visual Studio Magazine? He's listening at [email protected].

comments powered by Disqus


  • 'Dev Home' Update Leads Developer Goodies in AI-Powered Windows 11 Update

    Along with today's new AI-powered Windows 11 update come new goodies for developers, including a new edition of Dev Home, a preview offering described as a "control center" providing coding-focused features and functionality.

  • Community Dev Gives VS Code Python Some YAPF

    The latest update to Python in Visual Studio Code includes a new extension for Python formatting that was contributed by a member of the open source community.

  • Devs Demand Visual Studio 2022 Ditch Old .NET Framework Dependencies

    Developers commenting on a Microsoft post about performance improvements in the upcoming .NET 8 demanded the company end Visual Studio 2022's dependency on the old .NET Framework.

  • Microsoft Remakes Azure Quantum Dev Kit with Rust, 'and It Runs in the Browser!'

    "The' tl;dr' is that we rewrote it (mostly) in Rust which compiles to WebAssembly for VS Code or the web, and to native binaries for Python."

Subscribe on YouTube