The Kendo UI Productivity Tools for Visual Studio Code is an extension for Visual Studio Code that enhances the application development experience with Kendo UI for jQuery.
As its primary advantage, the VS Code extension facilitates the creation of projects through a wizard directly in Visual Studio Code.
You can get the extension:
from the Visual Studio Marketplace
by opening the Extensions tab in Visual Studio Code, then searching for Kendo UI Productivity Tools and clicking Install
To create a Kendo UI for jQuery project:
Pin Windows/Linux or
Pon Mac to open the VSCode extension launcher.
Kendo UI Template Wizard: Launchand press
Enterto launch the extension.
Enter a project name and select the location.
Choose the desired template.
Kendo UI Template Wizard for Visual Studio Code comes with several built-in templates for some of the most popular components like Grid, Chart, and Form. These templates allow you to add pages with these widgets with a single click. Additionally, you can create a Blank project and the extensions will generate a page with all of the necessary stylesheets and a single heading element.
Apply the desired styling by selecting a theme.
To style your application, select one of the built-in Sass-based themes: Default, Bootstrap, or Material.
Click the Create button to finish the setup.
Run the project:
- Install the npm dependencies by typing npm install in the terminal.
- Run the application by typing npm start in the terminal.
- The HTML files are located in the
pagesfolder of the project.
- The script files are located in the
srcfolder of the project.
- The stylesheets are included in the head element of each individual page.
The scripts are automatically injected into the HTML pages only if the script name matches the page name. For example, if the page is called
MyPage.html, then the script file in the
srcfolder must be called
The Kendo UI Productivity Tools for Visual Studio Code extension can generate code snippets with sample configuration for the Kendo UI widgets. To add a code snippet for a Kendo UI widget:
- Open a
jsfile or add a
jq-short. Alternatively, type
jq-component—where you replace "component" with the name of the desired component, for example,