GIF Pokemon Extension
Display animated GIFs in VS Code like the popular vscode-pokemon extension!
Features
- 🎨 Display animated GIFs in a floating overlay
- 📍 Positioned in the corner like vscode-pokemon
- 🚀 Auto-shows when VS Code starts
- 🎮 Toggle on/off with a command
- 💫 Beautiful glassmorphism design
Usage
- Auto Display: The GIF will automatically appear when you open VS Code
- Toggle: Use Command Palette (
Ctrl+Shift+P ) and search for "Toggle GIF Display"
- Customize: Replace the placeholder with your own GIF file
Adding Your Own GIF
- Add your GIF file to the
media/ folder
- Edit
src/extension.ts and change the file name in this line:
vscode.Uri.joinPath(context.extensionUri, 'media', 'your-gif-file.gif')
- Recompile with
npm run compile
Development
Running the Extension
- Open this folder in VS Code
- Press
F5 to run the extension in a new Extension Development Host window
- The GIF should appear automatically in the corner
Building
npm run compile
Testing
npm test
Extension Settings
This extension contributes the following commands:
gif.toggleGif : Toggle the GIF display on/off
Release Notes
0.0.1
Initial release of GIF Pokemon Extension
- Basic GIF display functionality
- Toggle command
- Auto-show on startup
Inspiration
Inspired by the popular vscode-pokemon extension, but with support for animated GIFs!
How to Replace with Your GIF
Currently using a placeholder SVG. To use your own GIF:
- Copy your GIF file (e.g.,
pokemon.gif , cat.gif ) to the media/ folder
- Open
src/extension.ts
- Find this line:
vscode.Uri.joinPath(context.extensionUri, 'media', 'placeholder.svg')
- Replace
placeholder.svg with your GIF filename
- Run
npm run compile to rebuild
- Press
F5 to test
Enjoy your animated GIF in VS Code!
| |