Zeal 几乎万能的离线文档浏览器

之前学语言的时候需要下载API,很麻烦,一门一个API,后来学前端,乱七八糟的文档也是一堆,再后来听老师推荐了zeal,当然了今晚我捣鼓了一晚上。
提示一下,是英文的哦。

下载软件

项目地址:https://github.com/zealdocs/zeal
官网:https://zealdocs.org/
Zeal目前有196个文档了!!!
在这里插入图片描述
注意 :If Zeal crashes on start, with or without a warning about missing vcruntime140.dll, please install Microsoft Visual C++ 2015 Redistributable.

下载文档

安装Zeal后,ToolsDocsets,就可以搜索并下载自己需要的文档了,installed是你已经下载安装的文档,available是你可以下载的文档,毕竟外国软件,可能网络一时半会儿刷新不出来,有条件的请务必爬墙。
editpreferences可以修改文档的下载目录。
在这里插入图片描述
在这里插入图片描述

如果出现报错:Content rendering error

An unhandled error occurred in the application. We apologize for the inconvenience!
在这里插入图片描述

  1. 找到文档下载目录,我的是html打不开,我就去html文件夹里找
    在这里插入图片描述
    进入相应文档的js文件夹,比如我的电脑:D:\Sian\Zeal\HTML.docset\Contents\Resources\Documents\developer.mozilla.org\static\build\js
    删除react-main.eaf988670620.js
    在这里插入图片描述
    然后重启zeal即可看到文档正产显示了。
    在这里插入图片描述

键盘快捷键

Command Shortcut
Focus Search Bar Ctrl+K or Ctrl+L
Find in page Ctrl+/ or /
New Tab Ctrl+T
Duplicate Tab Ctrl+Alt+T
Close Tab Ctrl+W (Ctrl+F4 on Windows)
Select Tab 1 to 8 Alt+1 through Alt+8
Select Last Tab Alt+9
Zoom In Ctrl+= or Ctrl++
Zoom Out Ctrl+-
Zoom Reset Ctrl+0
Open Preferences Ctrl+,
Quit Zeal Ctrl+Q

IDE插件

Atom
An Atom package is available at https://atom.io/packages/dash.

Brackets
There is a Brackets integration available at https://github.com/anephew/brackets-zeal.

Emacs
There is an Emacs package available at https://github.com/jinzhu/zeal-at-point.

IntelliJ IDEA
There is an IDEA plugin available at https://plugins.jetbrains.com/plugin/7351?pr=idea.

KTextEditor (Kate, KWrite, KDevelop, Kile, etc)
A plugin for KTextEditor-based editors is available at https://github.com/g3ar/ZealSearch.

Sublime Text
There is a Sublime Text 2/3 package available at https://github.com/vaanwd/Zeal.

VIM
There is a Vim plugin available at https://github.com/KabbAmine/zeavim.vim.
Or you can use https://github.com/keith/investigate.vim with something like this in .vimrc:
let g:investigate_command_for_python = '/usr/bin/zeal ^s'
A simpler way to integrate with Vim is a simple mapping, like
:nnoremap gz :!zeal "<cword>"&<CR><CR>

Visual Studio Code
There is a VSCode plugin available at https://github.com/deerawan/vscode-dash.

发布了107 篇原创文章 · 获赞 402 · 访问量 50万+

猜你喜欢

转载自blog.csdn.net/qq_36667170/article/details/104740335