Skip to content

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

License

Notifications You must be signed in to change notification settings

janis-kra/split-guide-atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 -> Install -> Search for 'split-guide-atom' and click 'Install'. 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):

  • Via menu: Packages -> Split Guide -> Wrap in WORKSHOP comments
  • Via shortcut: Cmd+Shift+P / Ctrl+Shift+P and then type WORKSHOP (the command should then read 'Split Guide Atom: Workshop') -> Enter
  • Via context menu: Right click in the editor -> Click 'Wrap in WORKSHOP comments'

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published