Code Monkey home page Code Monkey logo

vscode-guides's Introduction

Guides

A Visual Studio Code extension for more guide lines

Version Installs Ratings

develop master
develop build master build
develop coverage master coverage

Hey There! This is a development build for potential next major release.

For current stable release, please check out master branch.

To see what could be implemented in the upcoming release, check out a list of potential extension options.

Screenshot

What is Guides?

Guides is simply an extension that add various indentation guide lines

How Guides different from built-in indentation guides?

  • Stack and Active indentation guides
  • Indentation backgrounds
  • Color and style customizations
  • Hide on selection

If you just want simple indentation guides, Guides kindly recommends that you use the built-in indentation guides instead.

How it works?

Simply install the extension and reload, Guides should do its job right away!

Note that all guide lines only show when the text is exceeding the limit due to the extension API limitation.

Customizations

Please take a look at preferences to see all available options. Possible values can be access via auto-completion dialog. The following options might affect how Guides performs...

  • guides.indent.backgrounds:
    This settings may cause slow performances on multiple indentations. Each color will be used for each indentation level and will loop around itself. Value must be in rgba(red, green, blue, alpha) format

  • guides.limit.maximum:
    Set to -1 for unlimited maximum rendering boundary.
    Set to floating point between 0 and 1 will based the limit from document size. For example, 0.5 will render guides covered at maximum of 50% in current document.
    Set to 1 or more to render at maximum of specified number of lines.

  • guides.overrideDefault:
    Set to true to suppress any suggestion towards default Visual Studio Code behaviours.

FAQs

Q: Why are guide lines fragmented on empty lines?
A: Guides use borders to draw its guide lines which require a character to be there. Since Visual Studio Code API does not provide the API for drawing line on empty space, this can be expected.

Q: What is the different in each guide line type?
A:

  • Normal indentation guide is a line that run down along each indentation level.
  • Active indentation guide is a line that run down along the last indentation level of the current line.
  • Stack indentation guide is a line that run down along each indentation level that comes before the active indentation level.

Q: License?
A: MIT, however, giving a mention is much appreciated.

vscode-guides's People

Contributors

spywhere avatar dependabot[bot] avatar sirisak-lu avatar carlinmack avatar tyriar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.