vscode-choosealicense

September 8, 2023 ยท View on GitHub

Visual Studio Marketplace Version Open VSX Version License CI/CD Codecov Gitpod

Choose a license for your project in VS Code via GitHub Licenses API

demo

Theme: GitHub Dark Default

Usage

Use License: Choose license command to create a license file in your project. You can also set year and author properties for auto replacing this fields in license.

Commands

Press Ctrl + Shift + P (Windows) or Cmd + Shift + P (Mac) to open the command palette and type License.

commands

Theme: GitHub Dark Default

CommandDescription
Choose licenseChoose a license to create.
Add default licenseAdd default license to repository.
Choose multiple licensesAdd multiple licenses.
Set default licenseSet default license to use.
Set authorSet author for licenses.
Set yearSet year for licenses.
Set extensionSet extension for license files.
Set filenameSet filename for license files.
Set tokenSet token for GitHub REST API access.

About access token

Setting an access token is optional, but it's increases your API rate limit.

If you want to, you can start with creating token (no scopes are required).

Why not all licenses are available?

List of licenses is retrieved using the Get all commonly used licenses API method. Not all licenses are included in this list. If you need a license that is not presented in this extension, raise an issue.