I have the pleasure (or the sorrow) to have a broadband internet connection most of the time I work. But when I am offline, maybe in the car or in the train, when there is no internet available or only slow one and I need some docs of the stuff I am working on, god damnit, I could freak out. But hey, there is a solution. Not only for preventing me from freaking out. Also if you want to have all your docs in one place. Let me introduce you, Dash.
What is Dash?
It calls itself an API Documentation Browser and Code Snippet Manager. That basically means you can download documentation sets and search them offline. For example I downloaded a bunch of documentation sets, like Ansible, WordPress, Django, Symfony, TypeScript, PHP and many many more.
Now wherever I go, I have them with me. Another cool thing is, your docs will automatically get updated, when you are connected to the internet again.
How to use Dash?
First things first. After the download and the installtion, you are greated with the Welcome screen.
Now click Download Docsets and search for the documentation you want:
In most cases it shouldn’t last to long, since there is mostly text inside the documentations. After finishing the download you get a notification, that it worked out.
Yet it’s easy as hell, to just use the search function in Dash and find the module or function you are looking for.
A cool thing to mention here is, if you hit a class by search, you get all the methods of the highlighted entry listed:
Another awesome thing I discovered in Dash are the CheatSheets. When I discover a new technology, thats’s really the first thing, I am googling for. “<Technology-XYZ> cheatsheet” will be in the search slot. I save them in my docs folder or print them out. Dash can manage all of this for me, which is awesome. So let’s get some Cheat Sheets. So again, click on Preferences > Downloads and click Cheat Sheets on the left:
Now hit the download button of the Cheat Sheet you want. In my case I just installed the iTerm 2 Cheat Sheet.
After closing the preferences again, we can open up our Cheat Sheet either from the search when we type iTerm 2 or by selecting it from the left sidebar.
I am not so much into snippets while coding. Probably this is because of the apps I have used until now. Let’s create a snippet for pasting our data and some date and time into the code.
When you want to use the snippets from Dash, it will ask for enabling the Accessibility Features. So you have to enable it first.
By clicking the + you create a new snippet. Now you are free to let your text hardcoded or modify it with placeholders.
So now you can use it in any input field:
Like mentioned before, I am not a huge friend of snippets, but maybe if I invest some time, the will become more useful for me.
Integration and Remote
Until now, I am sure, you also like Dash. So the next post about Dash is already in draft and will come out this week. There we will be learning how to use the remote feature (it is awesome I can tell you!) and take a look at some integrations available. See you than, and don’t forget to subscribe to my newsletter!