78 posts in this topic

Dash 2 (note: paid app) has just been released and it comes with a Alfred 2 Workflow. Dash lets users instantly search through documentation for 130+ APIs (ranging from HTML to Cocoa), for more information, check out Dash's webpage. All of the Dash-supported documentation sets are available for offline use.

 

You can get the Dash workflow by installing Dash and going to Preferences > Integration > Alfred.

 

screen.png

screen2.png

 

Supported documentation as of the 2.0 release (documentation is constantly added so this list might go out of date): iOS, OS X, Man Pages, .NET Framework, ActionScript, Akka, Android, Angular.js, Ansible, Appcelerator Titanium, Arduino, Backbone.js, Bash, Boost, Bootstrap, Bourbon, C, C++, CakePHP, Cappuccino, Chai, Chef, Clojure, Cocos2D, Cocos2D-X, Cocos3D, CodeIgniter, CoffeeScript, ColdFusion, Common Lisp, Compass, Cordova, Corona, CSS, Django, Dojo Toolkit, Drupal, D3.js, Elixir, Emacs Lisp, Ember.js, Emmet.io, Erlang, Express.js, ExpressionEngine, ExtJS, Flask, Foundation (by Zurb), Git, GLib, Grails, Go, Groovy, Haml, Haskell, HTML, Jade, Java, JavaFX, JavaScript, Joomla, jQuery, jQuery Mobile, jQuery UI, Knockout.js, Kobold2D, Laravel, LaTeX, Less, Lua, Lo-Dash, Marionette.js, Meteor, MongoDB, Mono, MooTools, MySQL, Nginx, Node.js, Ocaml, OpenCV, OpenGL, Perl, PhoneGap, PHP, Play, PostgreSQL, Processing, Prototype.js, Puppet, Python, Qt, R, Redis, Ruby, Ruby on Rails, Sass, Scala, Sencha Touch, Smarty, Sparrow, Spring Framework, SproutCore, SQLite, Stylus, SVG, Symfony, Tcl/Tk, Twig, Twisted, TYPO3, Underscore.js, Unity 3D, Vagrant, Vim, VMware vSphere, WordPress, Xamarin, Xojo, XSLT, XUL, Yii, YUI, Zend Framework, Zepto.js. 

Edited by bogdansrc
arsenty, rice.shawn, thec13 and 7 others like this

Share this post


Link to post

The workflow only misses (or maybe is me who is missing how to do it) the possibility to select some text in the editor and directly query Dash with the selected text. 

Share this post


Link to post

The workflow only misses (or maybe is me who is missing how to do it) the possibility to select some text in the editor and directly query Dash with the selected text. 

I think you can add that using a Keyboard trigger... Here's the workflow set up with that: http://cl.ly/1K2w1N3d342c.

Share this post


Link to post

Nice!

 

Any plans on a workflow to search snippets in Alfred?

The current workflow searches snippets as well. If you want a workflow that searches only snippets, you can set up a "Snippets only" search profile in Dash, add a keyword trigger to it and then set up the current Dash workflow to search using that keyword.

Share this post


Link to post

The current workflow searches snippets as well. If you want a workflow that searches only snippets, you can set up a "Snippets only" search profile in Dash, add a keyword trigger to it and then set up the current Dash workflow to search using that keyword.

Oh, brilliant, didn't realized that. Thanks!.

Share this post


Link to post

The current workflow searches snippets as well. If you want a workflow that searches only snippets, you can set up a "Snippets only" search profile in Dash, add a keyword trigger to it and then set up the current Dash workflow to search using that keyword.

 

 

Just updated Dash today and seen how great this works with Alfred, think I'll be purchasing and moving over my snippets from CodeBox.

 

One question, I can locate snippets in Alfred but when i action them how do i stop them being opened in Dash and initiate them within the application i was in before accessing Alfred.

Share this post


Link to post

Just updated Dash today and seen how great this works with Alfred, think I'll be purchasing and moving over my snippets from CodeBox.

 

One question, I can locate snippets in Alfred but when i action them how do i stop them being opened in Dash and initiate them within the application i was in before accessing Alfred.

 

+1   On this one, would be great.

Share this post


Link to post

ust updated Dash today and seen how great this works with Alfred, think I'll be purchasing and moving over my snippets from CodeBox.

 

One question, I can locate snippets in Alfred but when i action them how do i stop them being opened in Dash and initiate them within the application i was in before accessing Alfred.

 

I'm not really sure about this one... What if you want to search for a snippet to edit it and not just use it? It would definitely be useful in most of the cases, but sometimes it might be really frustrating as it would take you out of your regular workflow (using Alfred) and would cause you to open Dash and search for the snippet there.

Edited by bogdansrc

Share this post


Link to post

I'm not really sure about this one... What if you want to search for a snippet to edit it and not just use it? It would definitely be useful in most of the cases, but sometimes it might be really frustrating as it would take you out of your regular workflow (using Alfred) and would cause you to open Dash and search for the snippet there.

 

This situation often arises when using Alfred workflows, the solution is to create a second action, for example actioning return would open the snippet in Dash(as it does currently) but if cmd + return was actioned it would initiate the snippet in the location you were in before entering Alfred.

 

I'm no expert with this stuff but I've seen this done in the 'Symbols' workflow by Piotr Wilczyński and it would work great with the Dash snippets.

 

I've just purchased Dash as its gonna be much easier for me to use than CodeBox, addition of this feature would make it even more useful.

 

P.S: here is a link to the symbols app, holding cmd,alt or fn before actioning pastes a different symbol code for each symbol.

Edited by dntz

Share this post


Link to post

This situation often arises when using Alfred workflows, the solution is to create a second action, for example actioning return would open the snippet in Dash(as it does currently) but if cmd + return was actioned it would initiate the snippet in the location you were in before entering Alfred.

 

I'm no expert with this stuff but I've seen this done in the 'Symbols' workflow by Piotr Wilczyński and it would work great with the Dash snippets.

 

I've just purchased Dash as its gonna be much easier for me to use than CodeBox, addition of this feature would make it even more useful.

 

P.S: here is a link to the symbols app, holding cmd,alt or fn before actioning pastes a different symbol code for each symbol.

I could definitely do that! It'll be part of the next Dash update.

lmartins likes this

Share this post


Link to post

I could definitely do that! It'll be part of the next Dash update.

 

 

Thats great, looking forward to it. Thanks for creating such a great time saving application. I dont want to try turn this into a help thread but could i just ask, when the snippet panel appears for you to enter your placeholders, is there anyway to stop that panel disappearing when clicking to another application, or outside of the snippet window. I often require various urls to be inserted within my placeholders (not just the one copied to clipboard) and when i click over to my browser the snippet panel disappears. An example of this senario '<li><a title="__title__" href="@clipboard"><img src="__image-url__" alt="__title__"></a></li>'

 

Thanks again

Edited by dntz

Share this post


Link to post

That's not possible currently. Supporting that would be quite tricky and I haven't gotten to it yet (it's quite low priority) - email me if you're interested in more technical details about this.

Share this post


Link to post

This looks promising. Dash itself is a must. I will buy it later tonight. However, I am not being able to use it with Alfred 2 (it says "searching for..." but no result is returned...)

Share this post


Link to post

This looks promising. Dash itself is a must. I will buy it later tonight. However, I am not being able to use it with Alfred 2 (it says "searching for..." but no result is returned...)

One other user has reported this as well... I'll look into it and post more information here.

Share this post


Link to post

thanks, if you need info or logs please tell. In this computer I am using OS X 10.7.5, Dash 1.8.2. and Alfred 2.0.2.

Edited by bmscmoreira

Share this post


Link to post

Really happy about my Dash purchase today. :-)

Hopping that extension update with option for applying the code directly arrives soonish :-)

Share this post


Link to post

I have tested the original workflow (the one that is installed via Dash application) in OSX 10.8.3 and it runs ok. So it must be something with OSX 10.7 I think.

Next monday I will be able to test the revised version in OSX 10.7.5 and I will tell how it went!

Share this post


Link to post

I have tested the original workflow (the one that is installed via Dash application) in OSX 10.8.3 and it runs ok. So it must be something with OSX 10.7 I think.

Next monday I will be able to test the revised version in OSX 10.7.5 and I will tell how it went!

The other user that also reported the issue was using 10.7 as well. He confirmed that the issue is fixed with the updated workflow.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now