Supported Protocols
Zeal implements two URL schemes:dash://
Simple protocol for basic search queries
dash-plugin://
Advanced protocol with parameters for IDE integration
dash:// Protocol
Thedash:// protocol provides a simple way to search documentation.
Syntax
Examples
URL Variations
Zeal accepts different URL formats:dash-plugin:// Protocol
Thedash-plugin:// protocol supports advanced parameters for IDE integration.
Syntax
Parameters
Comma-separated list of docset keywords to searchExample:
keys=python,djangoSearch query stringExample:
query=pprintPrevent Zeal window from being activatedWhen
true, Zeal updates the search results but doesn’t bring the window to the foreground. Useful for background updates while coding.Example: prevent_activation=trueExamples
Using Protocol Handlers
From Command Line
You can invoke protocol handlers directly from the command line:From Web Browser
Create clickable links in HTML:From Applications
Other applications can open Zeal URLs using system APIs:Windows Registration
On Windows, protocol handlers must be registered in the system registry.Automatic Registration
Use Zeal’s built-in registration:dash:// and dash-plugin:// protocols.
Manual Registration
The registration creates the following registry structure:- Default description
URL Protocolmarker- Default icon
- Command for opening URLs
Unregistration
To remove protocol handlers:IDE Integration
Many IDEs and text editors support Dash protocol integration.Visual Studio Code
Install a Dash integration extension:- Search for “Dash” in the Extensions marketplace
- Configure the extension to use Zeal
- Set the executable path to Zeal
Sublime Text
Use the DashDoc plugin:- Install via Package Control
- Configure for Zeal in settings:
Vim/Neovim
Use a plugin like vim-dasht or dash.vim:Emacs
Use the zeal-at-point package:JetBrains IDEs
Install the Dash plugin from the marketplace and configure it to use Zeal.Advanced Integration
Context-Aware Search
IDE plugins can detect the current programming language and automatically scope searches:Background Updates
For non-intrusive documentation lookup, useprevent_activation=true:
Custom Keybindings
Bind a key in your IDE to open Zeal with the current selection:- VS Code
- Sublime Text
URL Encoding
Special characters in queries should be URL-encoded:Troubleshooting
Protocol not recognized (Windows)
Protocol not recognized (Windows)
Run Zeal with administrator privileges and execute:Verify the registry entries exist in
HKEY_CURRENT_USER\Software\Classes\.Browser doesn't open links
Browser doesn't open links
- Check that protocol handlers are registered
- Some browsers require explicit permission for custom protocols
- Try opening the URL from command line first
IDE integration not working
IDE integration not working
- Verify Zeal is in your system PATH
- Check IDE plugin configuration
- Test protocol handlers manually from command line
- Ensure Zeal is not already running in single-instance mode
Query not working as expected
Query not working as expected
- Check URL encoding for special characters
- Verify docset keywords match installed docsets
- Test the query directly in Zeal’s search box
Security Considerations
Protocol handlers execute local applications, which can pose security risks:- Zeal only accepts safe query parameters
- No file system access is granted through protocol URLs
- Commands are not executed; only search queries are processed