• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-indent-codecrumbs

Atom plugin package to add breadcrumbs feature based on code indendation
  • #breadcrumbs
ocoka
1.3.2 396
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Atom plugin package that adds breadcrumbs feature based on code indendation

Any language, can be easily extended to support more languages in aspect of crumbs colorization and clean filtering

image

How to add new color for crumbs

No colors

  1. Place the cursor in the editor on the row that you want to colorize in breadcrumbs
  2. Invoke CTRL-SHIFT-P (Command Pallete)
  3. Find command Log cursor scope and invoke it
  4. Take scope

Get scope from notification popup

  1. Open user stylesheet Command to open stylesheet
  2. Insert import this plugin
@import (reference) 'packages/atom-indent-codecrumbs/styles/index';
  1. Invoke special LESS mixin
/* add color fur current language scope */
@import (reference) 'packages/atom-indent-codecrumbs/styles/index';
.codecrumbsAddColor(orange, ~'meta.property-list');
  1. Feel the difference Result

  2. You can easily reconfigure component styles styling

// same import  
@import (reference) 'packages/atom-indent-codecrumbs/styles/index';
// set parameters 
@codecrumbs-height: 14px; // corners height (crumbs will have height = @codecrumbs-height * 2) 
@codecrumbs-width: 10px; // corners width 
@codecrumbs-max: 26ch; // max crumb width, text will have ellipsis 
@codecrumbs-min: 5ch; // min crumb width 
@codecrumbs-font: 1.2rem; // font-size 
// after parameters set invoke reconfiguration mixin 
.codeCrumbsReconfigure();

Of course you can do any styling you want just by overriding CSS rules in your user style.less

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by