A Visual Studio Code extension for more guide lines
develop | master |
---|---|
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.
Guides is simply an extension that add various indentation guide lines
- 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.
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.
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 inrgba(red, green, blue, alpha)
format -
guides.limit.maximum
:
Set to-1
for unlimited maximum rendering boundary.
Set to floating point between0
and1
will based the limit from document size. For example,0.5
will render guides covered at maximum of 50% in current document.
Set to1
or more to render at maximum of specified number of lines. -
guides.overrideDefault
:
Set totrue
to suppress any suggestion towards default Visual Studio Code behaviours.
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.