Skip to content
Toggle visibility of 'boundingBox' layers in a Sketch document
Branch: master
Clone or download
nitrada Merge pull request #23 from lessthanzero/master
Fix #22 by allowing Symbol instances in the query
Latest commit 821d293 Feb 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Sketch Bounding Boxer.sketchplugin/Contents/Sketch
images added icon & logo Dec 30, 2016
Demo.sketch extended and rewritten for Sketch 3 Nov 3, 2015
LICENSE.md Create LICENSE.md Nov 8, 2018
README.md fix readme gif Jan 20, 2018
Sketch Bounding Boxer.sketchplugin.zip Remove logging from library file Jan 16, 2019

README.md

Sketch Bounding Boxer


Sketch Bounding Boxer Animation

Why Sketch Bounding Boxer

In our Sketch documents, we often use "boundingBox" layers in eg. icon layer groups to see (and use) their actual dimension and bounds. Since we don't want to see these "boundingBoxes" permanently, we created this little plugin to toggle their visibility with a keyboard shortcut (we use "cmd + l").

By default, the plugin toggles all layers with their name starting with "boundingBox", so for example "boundingBox 2" will be toggled as well (this is pretty nifty if you duplicate layers and get an automatic number at the end of the name). You can easily change the affected layer name with the "Settings" command.

Installation

  1. Download the ZIP file (or clone repository)
  2. Move the file Sketch Bounding Boxer.sketchplugin into your Sketch Plugins folder. In Sketch 3, choose Plugins › Reveal Plugins Folder… to open it.

Please report bugs, observations, ideas & feature requests as issues.

Available Commands

Toggle

automatically determines if the (majority of) matching layers are currently visible or hidden and toggles their visibility accordingly.

Show

makes all matching layers visible.

Hide

makes all matching layers hidden.

Settings

allows for the layer name to be changed as desired. * can be used as a wildcard meaning that box* will match box, box1, box-something, etc. * can be used anywhere within the layer name string.

You can’t perform that action at this time.