split-guide-atom

An Atom plugin that simplifies creating workshops using @kentcdodds split-guide

janis-kra

330

0

1.0.0

MIT

GitHub

split-guide-atom package

An Atom plugin that simplifies creating workshops using @kentcdodds awesome split-guide

Demo GIF

Why?

When creating a workshop using the aforementioned split-guide tool, I often had typos in the // WORKSHOP and/or // FINAL comments that you have to do when creating your workshop templates. Also, I type // WORKSPACE instead of // WORKSHOP all the time...

This small Atom plugin fixes that problem by typing the comments for you when you click the corresponding menu item.

Installation

Install it inside Atom via Settings -> Packages -> Search for 'split-guide-atom'. Or just apm install split-guide-atom

Usage

First, select the portion of your source code that should be wrapped in WORKSHOP, FINAL or COMMENT comments. Or just place the cursor at any position inside the editor.

You then have three ways of issuing the commands (example for WORKSHOP comments):