Installing Plugins
Use the command palette to install plugins from the registry:Package Manager Commands
All package management is done through the command palette (Ctrl+P >):
| Command | Description |
|---|---|
pkg: Install Plugin | Browse and install plugins from the registry |
pkg: Install Theme | Browse and install themes from the registry |
pkg: Install from URL | Install directly from any git repository URL |
pkg: List Installed | Show all installed packages |
pkg: Update All | Update all installed packages |
pkg: Remove Package | Remove an installed package |
pkg: Sync Registry | Fetch the latest package lists from registry sources |
Installing from Git URL
Any git repository can be installed directly:Monorepo Support
For repositories containing multiple plugins, use a URL fragment to specify the subdirectory:packages/rainbow-brackets directory from the repository.
Package Locations
Installed packages are stored in your config directory:Each package is a git repository, so you can update manually with
git pull if needed.Custom Registry Sources
By default, Fresh uses the official package registry. You can add additional registries in your config:config.json
pkg: Sync Registry from the command palette to fetch the latest package lists.
Plugin Development Location
When developing your own plugins, place them in the main plugins directory:.ts file in this directory will be automatically loaded when Fresh starts.
Bundled Plugins
Fresh ships with many production-ready plugins already installed:Essential Plugins
Git Integration
Git Integration
- git_grep.ts - Interactive search through git-tracked files
- git_find_file.ts - Fuzzy file finder for git repositories
- git_blame.ts - Git blame view with commit navigation
- git_log.ts - Git log viewer with history browsing
- git_gutter.ts - Show git diff markers in the gutter
Code Tools
Code Tools
- diagnostics_panel.ts - LSP diagnostics panel with navigation
- find_references.ts - Find references across the codebase
- todo_highlighter.ts - Highlights TODO/FIXME/HACK in comments
- color_highlighter.ts - Preview color codes inline
Editing Features
Editing Features
- search_replace.ts - Search and replace functionality
- path_complete.ts - Path completion in prompts
- markdown_compose.ts - Semi-WYSIWYG markdown editing
- merge_conflict.ts - 3-way merge conflict resolution
Language Support
Language Support
LSP integration for:
- TypeScript/JavaScript (
typescript-lsp.ts) - Rust (
rust-lsp.ts) - Python (
python-lsp.ts) - Go (
go-lsp.ts) - C/C++ (
clangd-lsp.ts) - And many more…
Using Plugins
Once installed, plugins automatically register their commands. Access them through:Command Palette
PressCtrl+P > and search for the plugin’s commands:
Keybindings
Plugins can register keybindings. Check your config or the plugin’s documentation for available shortcuts.Automatic Features
Some plugins work automatically:- todo_highlighter.ts - Automatically highlights TODO/FIXME keywords
- color_highlighter.ts - Automatically previews color codes
- git_gutter.ts - Automatically shows git changes in the gutter
- diagnostics_panel.ts - Automatically shows LSP diagnostics
Updating Plugins
Keep your plugins up to date:Manual Update
Since each package is a git repository, you can also update manually:Removing Plugins
Remove unwanted plugins:Troubleshooting
Plugin Not Loading
Check Plugin Location
Check Plugin Location
Ensure the plugin is in the correct directory:
Check TypeScript Syntax
Check TypeScript Syntax
Plugins must have valid TypeScript syntax. Check for syntax errors:
Check Debug Logs
Check Debug Logs
Run Fresh with debug logging:
Restart Fresh
Restart Fresh
Plugins are only loaded at startup. Always restart Fresh after installing or modifying plugins.
Plugin Conflicts
If two plugins conflict (e.g., both register the same keybinding), the last loaded plugin wins. Check your keybindings config to resolve conflicts.Next Steps
Plugin Development
Learn how to create your own plugins
Plugin Examples
Explore real plugin examples with code
Plugin Overview
Learn about the plugin system architecture
API Reference
Complete API documentation