Skip to content

Indent guides #2192

Closed
Closed

Description

Hi, is there any chance we can get indent guides (the vertical lines that run down to matching indents). Could not find reference to them anywhere in VS code or the gallery. Thanks - Adolfo

Activity

  1. greybax commented on Jan 22, 2016

    @greybax
    Contributor

    Do you mean like it describes in this issue #1673 ?

  2. adolfojbarreto commented on Jan 22, 2016

    @adolfojbarreto
    Author

    Hi greybax, No, but thanks for the response :) ...let me see if i can draw it out here:

  3. .

    . . slkdfjkldsfaksdflkdasjf . .
    . . alsdkfjieakegan;eikgie .

  4. The guides are the dots that help align the tags above.

  • adolfojbarreto commented on Jan 22, 2016

    @adolfojbarreto
    Author

    ok that did not work...lol. Basically they are lines or dots that connect open and closing tags. they help you align the code.

  • added
    feature-request
    on Jan 23, 2016
  • stkb commented on Jan 23, 2016

    @stkb
    Contributor

    I think you're wanting something like the Indent Guides extension for Visual Studio?

    screen

    However, I find that if you turn on whitespace rendering by setting the "editor.renderWhitespace" setting to true, you get something that works almost just as well:

    whitespace

    It shows arrows for tabs and small dots for spaces

  • adolfojbarreto commented on Jan 23, 2016

    @adolfojbarreto
    Author

    Hi yes...that's it. Thank You!

  • sylvainlap commented on Jan 27, 2016

    @sylvainlap

    +1

    I really think that indent guide (vertical lines) would be useful.

  • ianwesterfield commented on Jan 29, 2016

    @ianwesterfield

    👍

    Steve Baker (@stkb) has it with his reference to the Visual Studio extension. Would love to see a similar extension for vscode.

    Aside from the actual indent guide lines, a separate color for the lines in the currently active indent level (cursor line) really pluses the experience up.

    I'm looking into the extension Joey Robichaud (@JoeRobich) is working on: vscode-indent-guides

  • bgashler1 commented on Mar 16, 2016

    @bgashler1
    Contributor

    This will also address #3803, where users have had trouble seeing where the left edge of the code editor is and where subsequent tabs are (especially with smaller tab sizes).

  • emergugue commented on Apr 8, 2016

    @emergugue

    This extension solves the problem

  • 17 remaining items

  • Tyriar commented on Feb 6, 2017

    @Tyriar
    Contributor

    Ali (@mosajjal) native support was added some time ago #2192 (comment)

  • mosajjal commented on Feb 6, 2017

    @mosajjal

    I just found it in the configuration. Thanks :)

  • gatspy commented on Mar 3, 2017

    @gatspy

    Guides can try it.

  • mosajjal commented on Mar 3, 2017

    @mosajjal

    CG.gatspy (@gatspy) Guides can cause #19982

  • M-Fasciano commented on Mar 18, 2017

    @M-Fasciano

    "editor.renderIndentGuides": true

  • C0rn3j commented on Apr 6, 2017

    @C0rn3j

    "editor.renderWhitespace": "all"

    Used to show dots for spaces and arrows for tabs, new version doesn't have this, how do I reenable it?

  • mosajjal commented on Apr 6, 2017

    @mosajjal

    "editor.renderWhitespace": "boundary" works for me in 1.11

  • C0rn3j commented on Apr 6, 2017

    @C0rn3j

    Ali (@mosajjal) I'm on the git version, and there it doesn't work anymore. I'm 2 days behind though, maybe it's fixed by now, I'll see about compiling the new version.
    Version 1.12.0
    Commit 5e5e9e3

    EDIT: Latest version ( 4c5030a ) still has this problem. I guess I should make an issue?
    EDIT2: Seems to be caused by the python extension I use, outside of python it works

  • techsin commented on May 14, 2017

    @techsin
  • hernimen commented on May 16, 2017

    @hernimen

    ident guides!!! plz!!!!

  • A-lee-201 commented on May 24, 2017

    @A-lee-201

    Was searching for this. Thanks!

  • abrahaobittar commented on May 26, 2017

    @abrahaobittar

    Thanks, worked 1.12.2

  • vsudakov commented on May 30, 2017

    @vsudakov

    Would be great to see it also in "Explorer" panel...

  • juancampa commented on Jul 7, 2017

    @juancampa

    Would be great to also have an option to show the guides only on hover. In most cases I don't need them and they add noise, but if I need them I should just be able to hover over the indentation whitespace and have them appear.

  • locked and limited conversation to collaborators on Nov 17, 2017
  • Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Labels

    feature-request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions