The Telerik® UI for Blazor Productivity Tools for Visual Studio Code is a set of features that speed up Blazor development and tools for project creation, Telerik UI components setup, reference and configuration, scaffolding for data-bound components and more. The productivity tools include:
The scaffolding feature will create new pages in your Blazor apps with the most used data-bound Telerik Blazor components: the Data Grid, TreeList, Scheduler, Chart, ListView, Gantt, Form, Drawer, Menu, DropDownList, Upload, ComboBox and more. When adding a new project item, the scaffolder will prompt you to input the service and model names and will allow you to configure multiple component-specific properties. For example, if you scaffold a new page with the Telerik UI for Blazor Data Grid, you will be able to set its sorting, filtering, grouping, column resizing and more features.
The productivity tools for Telerik UI for Blazor within Visual Studio Code include over 80 code snippets that will speed up your development with Telerik UI components. You can take advantage of the dozens of code snippets that can be easily invoked in the IDE by typing a shortcut (e.g., “tb” for Telerik Blazor) or directly the name of the component you need to plug. For example, typing “grid” or just “gr” will conveniently show a dropdown with the available snippet templates you can insert into your code. Then, using a tab sequence, you can fill out the component properties, options, model and controller actions.
The “Create new project wizard” provides a quick start with project templates that include various Telerik components. The available project templates include Blank (an empty project with all the necessary configuration to start using Telerik Blazor UI components immediately), Grid, Chart, Form and Admin Dashboard (with pre-built layout and components, including the Grid, Tile Layout, Drawer, Calendar, Form, various Chart types, Card and more). You can also easily configure the preferred theme for your new application, choosing between the Default, Bootstrap, Material or Fluent themes and from the different color variations available with their respective swatches.
The Convert command is suitable for cases when you need to add Telerik UI for Blazor components to an existing Blazor application with minimal effort. Instead of manually adding the NuGet package, static assets and other references, you can take advantage of a simple convert command provided by the extension. It will create on your behalf all the necessary references to your Blazor project and you can immediately start using Telerik UI for Blazor components within it.
The productivity tools also provide integration with Telerik REPL for Blazor—a browser-based playground for creating, saving, running, embedding and sharing Blazor code snippets.
Using the Share to Telerik REPL for Blazor option from the code editor context menu, you can easily export your code snippet while coding in your favorite IDE and share the generated URL to social media, community forums or send it to a teammate.