Todo-Show Package: Auto-run On Startup?


#1

I have installed the Todo-Show package, and it works great. So great, in fact, that I would like it to automatically run when I start ATOM.

When I use Todo-Show, I must click on packages in the menu at the top and navigate to the Todo-Show package, and then click on Find in Workspace. Is there a way to make this automatically happen when I run Atom?


#2

Drop this into your init.coffee.

# Activate Todo-Show
atom.commands.dispatch(document.querySelector('atom-workspace'), 'todo-show:find-in-workspace')

#3

works perfectly! Thanks :slight_smile:


#4

No problem.