7 ms·
Reminds me of Dash[1] which is especially useful when configured in your editor: press a key to open documentation for the word under the cursor. 1: https://ka
by marceldegraaf 9y ago
Reminds me of Dash[1] which is especially useful when configured in your editor: press a key to open documentation for the word under the cursor.
1: https://kapeli.com/dash https://kapeli.com/dash
- padiyar83 9y agoBut you pay for Dash subscription, this one seems to be free.
- Thibaut 9y agoAnd open-source :) (https://github.com/Thibaut/devdocs https://github.com/Thibaut/devdocs) Disclaimer: I'm the maintainer of DevDocs
- alceta 9y agoWell then let me thank and congratulate you for your efforts in building this. As a long-time dash user in the past, devdocs felt like home and just works nicely and without any unnecessary features.
- speps 9y agoIs Elm support planned?
- myfonj 9y agoFor `is * planned` refer to https://trello.com/b/6BmTulfx/devdocs-documentation https://trello.com/b/6BmTulfx/devdocs-documentation. (Elm is in "To Do".)
- no_wizard 9y agoYou pay for the software but it’s not a subscription. Just to clarify. For what it’s worth on Linux the open source alternative is Zeal https://zealdocs.org/ https://zealdocs.org/
- a_bored_husky 9y agoAnd dasht for the terminal https://github.com/sunaku/dasht https://github.com/sunaku/dasht
- copperx 9y agoSubscription? Dash is not subscription based.
- raresp 9y agoYes, but this is free and more complex.
- irrational 9y agoMore complex or more complete?
- majewsky 9y ago"Shift+K" does the same in vim. However, it looks for a manpage matching the word under the cursor, so it won't help you unless you're doing C or Perl.
- a_bored_husky 9y ago`K` in vim uses the program defined in `keywordprg` which is `man` by default, but can be set to whatever you want according to the file type.
- gry 9y agoRemapping `K` to devdocs.vim is quite handy. https://github.com/rhysd/devdocs.vim https://github.com/rhysd/devdocs.vim
- a_bored_husky 9y agoI use dasht[1] and vim-dasht[2] but that looks nice. [1]https://github.com/sunaku/dasht https://github.com/sunaku/dasht [2]https://github.com/sunaku/vim-dasht https://github.com/sunaku/vim-dasht
- rgrau 9y agoIf you live inside emacs, https://github.com/areina/helm-dash/ https://github.com/areina/helm-dash/ will use dash documentation and use emacs for the search and display of the docs. Also, works on GNU/Linux and Windows. Also, free software. Also, I'm the co-author.
- pagnol 9y agoThis is great, thank you very much!
- kornish 9y agoThis is awesome - thanks for sharing your work!
- blaenk 9y agoI saw this a while back and it seemed amazing but I was wondering if there's any way to open the actual live documentation page. So for example if you choose the documentation for `Array.prototype.map` then it'll pull up that page on MDN, rather than the locally cached Dash page. I know the whole point of Dash is to have locally cached, offline documentation copies, but I was thinking it would be amazing to use that to feed Helm candidates, but actually open the real, live documentation page.
- rgrau 9y agoyou definitely can do it because the only thing that is in the docsets is a uri starting with https?:// or file:/// . It seems there are some docsets already doing that[1]. Creating your own docsets is dead easy. just a simple sqlite3 file with a single table. You can find an example I hacked myself here[2] (very hackish). It's basically creating a table: create table searchIndex(id INTEGER PRIMARY KEY, name TEXT, type TEXT, path TEXT); CREATE UNIQUE INDEX anchr ON searchIndex (name, type, path); And filling it with data: insert into searchIndex(name,type,path) VALUES ('foo','function','https://example.com') [1]. https://github.com/areina/helm-dash/issues/65 https://github.com/areina/helm-dash/issues/65 . [2]. https://github.com/kidd/AllegroLisp.docset https://github.com/kidd/AllegroLisp.docset
- 9y ago
- epicide 9y agoThis was my first thought, as well. I use Dash several times a day. It has been indispensable for me. There are a few main things that will probably keep me on Dash, for the time being. In no particular order: 1. Global shortcut - Being able to quickly show-search-hide from anywhere is extremely useful for me. I can quickly refresh myself on the syntax of an uncommon function. The faster I can do that, the less likely I am to break my flow. 2. Support for random/obscure projects - On top of community-added docs, Dash lets you point it at any random GitHub project and it will pull down the README. This has come in handy plenty of times for me when using small tools and components. Sure, it's not as nice as full documentation, but it's nice having that README searchable in the same place and offline (see reason #1). 3. Docsets - Dash lets you define groups of frameworks (etc.) and name them. You can even specify which version of a framework to use in the docset. This allows me to tailor my results to a particular stack, depending on which project I'm currently working on. EDIT: I should read :)
- heartbreak 9y agoThe Dash author engaged in unethical practices and then attacked Apple when they closed his account. http://www.loopinsight.com/2016/10/10/apple-responds-to-dash-controversy-with-proof/ http://www.loopinsight.com/2016/10/10/apple-responds-to-dash...
- ihuman 9y agoDash is back on the iOS app store[1], so they probably worked out the issue [1] https://blog.kapeli.com/dash-for-ios-back-on-the-app-store https://blog.kapeli.com/dash-for-ios-back-on-the-app-store
- ravishi 9y agoWhat? That link doesn't have any proof that "the Dash author has engaged in unethical practices". Neither any other link I could find about the whole controversy. Actually, everyone seems to be saying things are complicated, what seemed to be true actually wasn't, it's hard to take sides, etc: https://daringfireball.net/2016/10/apple_dash_controversy https://daringfireball.net/2016/10/apple_dash_controversy
- heartbreak 9y agoGruber makes it pretty clear in your link that the author of Dash engaged in unethical practices, just not with the Dash app (or the account used to publish Dash). Heck, publishing the phone call alone is unethical, regardless of any of the alleged app review behavior.
- namelost 9y agoI think you or the mods should remove your comments because they are potentially defamatory. There is indeed no evidence that the Dash author himself was responsible, he says it was a family member.
- heartbreak 9y ago“Almost 1,000 fraudulent reviews were detected across two accounts and 25 apps for this developer so we removed their apps and accounts from the App Store,” Apple spokesperson, Tom Neumayr They’re allegations, sure. I said that in my second comment. But Tom didn’t hedge his words there.
- semanticfact 9y agoI found it slow. Also, just remembering this now but I came in to work one morning only to be questioned as to why I was downloading GBs of data while I was out of the office. I guess Dash was refreshing the local copy of all the docs every night. Uninstalled it right away.
- heyoni 9y agoSlow? It's insanely fast on my 6 year old desktop and doesn't download "gigs" of docs every night...also, what kind of workplace monitors individuals net usage then gets upset at them for downloading "gigs" when their job is to program.