/vscode-extension-bongo-cat

Adds decorator to the text editor

Primary LanguageTypeScriptMIT LicenseMIT

Bongo Cat Decorator

This extension is based on the official vscode-extension-samples/decorator-sample/. It adds Bongo Cat animated icon to the end of the file.

Bongo Cat Decorator preview

VSCode API

The code uses VSCode's TextEditor.setDecorations and vscode.window.createTextEditorDecorationType APIs.

Running the code

  • npm install to initialize the project
  • npm run watch to start the compiler in watch mode
  • open this folder in VS Code and press F5
  • this will open the [Extension Development Host] window, running the extension:
    • Open any document and start typing to see Bongo Cat