This extension is based on the official vscode-extension-samples/decorator-sample/. It adds Bongo Cat animated icon to the end of the file.
The code uses VSCode's TextEditor.setDecorations
and vscode.window.createTextEditorDecorationType
APIs.
npm install
to initialize the projectnpm 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