# Kendo UI Productivity Tools for Visual Studio Code

The Kendo UI Productivity Tools for Visual Studio Code is an extension for <a href="https://code.visualstudio.com/" target="_blank">Visual Studio Code</a> that enhances the application development experience with Kendo UI for jQuery. This extension facilitates the creation of projects through a wizard directly in Visual Studio Code.

The Kendo UI Productivity Tools deliver a Kendo UI Template Wizard that eases the development efforts by providing an interface for creating new projects that are pre-configured for Kendo UI components. The Template Wizard provides a **Blank** project template, which can be further enhanced by the addition of more pages with Grids, Charts, Forms, and others. The wizard lets configure the desired [Kendo UI Sass-Based themes](https://www.telerik.com/kendo-jquery-ui/documentation/styles-and-layout/sass-themes/overview#theme) for your application by choosing between the Default, Bootstrap, Material, Fluent, or Classic and pick from a variety of [swatches](https://www.telerik.com/kendo-jquery-ui/documentation/styles-and-layout/sass-themes/overview#swatch) that come with each theme. The end result is a ready-to-run application with all required configurations and dependencies. This enables you to immediately start using the Kendo UI components.

## 1. Get the Extension

You can get the extension in either of the following ways:

* Go to the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=KendoUI.kendotemplatewizard).
* In VS Code, open the **Extensions** tab, search for **Kendo UI Productivity Tools**, and click **Install**.

## 2. Create the Kendo UI Project

To create a Kendo UI for jQuery project with the Kendo UI Template Wizard:

1. Press `Ctrl`+`Shift`+`P` (for Windows or Linux), or `Cmd`+`Shift`+`P` (on Mac) to open the VS Code extension launcher.

2. Type or select `Kendo UI Template Wizard: Launch` and press `Enter` to launch the extension.

   ![Kendo UI for jQuery Launch Kendo UI Template Extension](https://www.telerik.com/kendo-jquery-ui/documentation/assets/70572efddb48160220e905d7e360e172/launch-extension.png)

3. Enter a project name and select the location.

   ![Kendo UI for jQuery Choose Project Location](https://www.telerik.com/kendo-jquery-ui/documentation/assets/472e63bf5a2aafe387a096c7cc3b6cf2/create-project-jq.png)

4. Choose the desired template.

   The 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 by using the components 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.

   ![Kendo UI for jQuery choose pages in Kendo UI for jQuery project](https://www.telerik.com/kendo-jquery-ui/documentation/assets/40091e147ba5055cffa217d319c0f8ff/vscode-wizard-select-pages.png)

5. Apply the desired styling by selecting a theme.

   To style your application, select one of the built-in [Sass-based themes](https://docs.telerik.com/kendo-ui/styles-and-layout/sass-themes): Default, Bootstrap, Material, Fluent, or Classic.

   ![Kendo UI for jQuery choose theme](https://www.telerik.com/kendo-jquery-ui/documentation/assets/165441024215c5061ee92f52680cb024/vscode-wizard-select-theme.png)

6. Click the **Create** button to finish the setup.

7. Run the project:

   1. Install the NPM dependencies by typing `npm install` in the terminal.
   2. Run the application by typing `npm start` in the terminal.

## 3. Check the Project Structure

* The HTML files are located in the `pages` folder of the project.
* The script files are located in the `src` folder 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 `src` folder must be called `MyPage.js`.

## 4. Generate the Snippets

The Kendo UI Productivity Tools extension provides a handy feature that improves the daily development with the Kendo UI library—code snippets. Snippets simplify and speed up the implementation of Kendo UI components in your project. They help the development process by providing a quick way for adding the components directly in the source code, while also including predefined tab stops for the required options.

To add a code snippet for a Kendo UI component:

1. Open the source code in the IDE and click where you want to insert the Kendo UI for jQuery component.
2. To list the Kendo UI for jQuery snippets, type the `kj-` snippet prefix.
3. Continue by typing the name of the component that you want to insert. Some components are provided by multiple snippets which allow you to create them in various ways depending on the desired configuration, for example, `kj-grid` and `kj-grid-remote`.
4. Press `Enter` to insert the desired component in the source code.
5. (Optional) If the component provides placeholders for specific properties, you can iterate and provide them by pressing the `Tab` key

## Scaffolders

The Kendo UI Productivity Tools extension for Visual Studio Code includes a scaffolding feature, which enables you to generate complex KendoReact components from an interactive wizard-like user interface.

To use the `Scaffolders` functionality, follow the steps below:

1. In the VS Code explorer panel, right-click a folder in your jQuery app .

   ![Kendo UI for jQuery Launch Kendo UI Scafoolders](https://www.telerik.com/kendo-jquery-ui/documentation/assets/a6b6cf782e6fc1a1797293773660d55b/scaffolders-new-item.png)

2. Select a component from the list. Currently, the Data Grid, Chart, Form, and Scheduler components support scaffolding.

   ![Kendo UI for jQuery Select Kendo UI Component](https://www.telerik.com/kendo-jquery-ui/documentation/assets/34dd0a6b8df419fff7790afc5206eb1d/scaffolders-choose-component.png)

3. Click the **Create** button.

## See Also

* [First Steps with Kendo UI for jQuery](https://www.telerik.com/kendo-jquery-ui/documentation/intro/first-steps)
* [Downloading the Bundles](https://www.telerik.com/kendo-jquery-ui/documentation/intro/installation/hosting-kendoui)
* [Licensing Overview](https://www.telerik.com/kendo-jquery-ui/documentation/intro/installation/licensing/overview)
