Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quick SpecNew to Visual Studio Code? Get it now.
Quick Spec

Quick Spec

Raul Melo

|
584 installs
| (0) | Free
Easy create a spec file for the opened filed
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Quick Spec

build status extension version

usage gif

Why

Spec/Test files are a common task between developers. This extension is just about quick create those files based on the the opened one and save you of typing or copy&paste the name during the creation. :)

Installation

By using Marketplace

This extension is available for free in the Visual Studio Code Marketplace

By using vscode

  1. Open Extensions sidebar panel in VS Code. View → Extensions;
  2. Search for Quick Spec;
  3. Click Install to install it.

Using

With a file opened, just open the Command Palette (View -> Command Palette) and search for Quick Spec: create.

In a nutshell, it'll copy the opened file name and create a new one with the same name but inserting .test.

Customization

To customize how the files are generate, go to User Settings (Code → Preferences → Settings) and search for Quick Spec.

name Default Description example
quickSpec.defaultExtension .test Spec extension which will be applied for all kind of file extension "quickSpec.defaultExtension": ".spec"
quickSpec.extensionPerLanguage {} Object which accepts file extension (key) and the test extension (value). This is for when you want to create a specific test only for one kind of file "quickSpec.extensionPerLanguage": { ".go": ".spec" }

License

MIT © Raul Melo

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