After installing, make sure to update your VS Code settings:
"editor.fontFamily": "'FiraCode Nerd Font', 'FiraCode Nerd Font Mono', monospace"
💻 Installation
Marketplace
Search for "nerdy-vscode" in the VS Code Extension Marketplace and click Install.
Local Installation (for development)
If you'd like to run the extension from source:
Clone the repository:
git clone https://github.com/2kabhishek/nerdy-vscode
cd nerdy-vscode
Install dependencies:
pnpm install
Open the project in VS Code:
code .
Press F5 to start a new VS Code window with the extension enabled.
Developer Commands
pnpm run update-glyphs: Updates the glyphnames.json data file from the official Nerd Fonts repository.
🚀 Usage
Insert Icon
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P).
Type "Nerdy: Insert Icon" and press Enter.
Search for the icon you want and select it to insert.
Insert Recent Icon
Open the Command Palette.
Type "Nerdy: Insert Recent Icon" and press Enter.
Select from your recently used icons for even faster access.
🏗️ What's Next
You tell me! :)
🧑💻 Behind The Code
🌈 Inspiration
nerdy-vscode was born out of the need for a quick and easy way to find and insert Nerd Font glyphs without leaving the editor or searching through external websites.
💡 Challenges/Learnings
Performance: Handling thousands of glyphs efficiently in VS Code's QuickPick required implementing a caching layer to avoid redundant disk I/O.
VS Code API: Learned the nuances of the showQuickPick API and how to handle asynchronous user selections effectively.