News

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

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube