AcademyRulesDevelopment

VSCode extension development rules in TypeScript

Developers building VSCode extensions who want Cursor to follow the extension API conventions.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/vscode-extension-dev-typescript-cursorrules-prompt-file.mdc -o .cursor/rules/vscode-extension-dev-typescript.mdc
vscode-extension-dev-typescript.mdc

Loading the file...

What it does

A Cursor rules file for building Visual Studio Code extensions with TypeScript. It covers code structure, naming conventions, typed command and configuration definitions, and how to register commands and providers in the activate function of the extension entry point.

Use cases

  1. 01Scaffold a new command and register it in activate
  2. 02Type the configuration schema of an extension
  3. 03Split commands, UI and business logic into modules

Questions about
VSCode extension development rules in TypeScript.

What is VSCode extension development rules in TypeScript used for?

Developers building VSCode extensions who want Cursor to follow the extension API conventions. A Cursor rules file for building Visual Studio Code extensions with TypeScript. It covers code structure, naming conventions, typed command and configuration definitions, and how to register commands and providers in the activate function of the extension entry point.

How do I install VSCode extension development rules in TypeScript?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/vscode-extension-dev-typescript-cursorrules-prompt-file.mdc -o .cursor/rules/vscode-extension-dev-typescript.mdc

Is VSCode extension development rules in TypeScript open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is VSCode extension development rules in TypeScript safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.