1.6.0 • Published 4 months ago

vscode-ext-codicons v1.6.0

Weekly downloads
12
License
MIT
Repository
github
Last release
4 months ago

vscode-ext-codicons

This module provides objects to work with codicons while developing VS Code extensions.

Codicons where officially released in February 2020 (publishing notes), being now possible to extension developers to reuse them. Prior to that, you only had available support to GitHub Octicons.

Installation

npm install vscode-ext-codicons

Usage

    import { ThemeIcons, codicons } from "vscode-ext-codicons";

    ...

    class BookmarkNode extends vscode.TreeItem {
      ...
      // instead of
      this.iconPath = new ThemeIcon('git-merge');

      // use
      this.iconPath = ThemeIcons.git_merge;
    }

    ...

    // instead of
    statusItem.text = "$(folder) " + folderName; 

    // use
    statusItem.text = codicons.folder + " " + folderName; 

Support

If you find it useful, please consider supporting it.

License

MIT © Alessandro Fragnani

1.6.0

4 months ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago