Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>KatanaNew to Visual Studio Code? Get it now.
Katana

Katana

K4tana

|
10 installs
| (0) | Free
A code generator plugin for JavaScript JSDoc/Unit Tests
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Katana

A Visual Studio Code extension to generate JSDoc comments and Unit Tests for your JavaScript and TypeScript code.

Features

Generate JSDoc Comments: Automatically generate JSDoc comments for your functions, classes, and variables. Simply right-click on a target in the code editor and select Generate JSDoc.

Generate Unit Tests: Quickly create unit test suites for your code. Right-click on a function or class and choose Generate Unit Tests to generate a unit test suite using your preferred test framework.

User Dashboard: View your subscription plan, usage statistics, and configure settings through the Katana Dashboard. Access it from the Katana View in the VSCode sidebar.

Usage

Generating JSDoc Comments

Open a JavaScript or TypeScript file. Right-click on the function, class, or variable you wish to document. Select Katana - Generate JSDoc from the context menu.

Generating Unit Tests

Open a JavaScript or TypeScript file. Right-click on the function or class you want to test. Select Katana - Generate Unit Tests from the context menu. The generated tests will be saved in the specified output path.

Configuration

You can configure the extension settings in the dashboard:

Unit Test Output Path: Specify the path where generated unit tests should be saved.

To access the dashboard:

Click on the Katana icon in the VSCode sidebar. The dashboard displays your user information and configuration options.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft