You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Reacted by Daniel Imms, Pushpan Kumar G.C., Nguyễn Văn Cao Nguyên, Maxime Quandalle, Harald Ullmann, Jens Fischer, Elarcis, Victor Bianchi, Andrea Brunato, Mikey Lombardi (He/Him) and 64 more
I think you're wanting something like the Indent Guides extension for Visual Studio?
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:
It shows arrows for tabs and small dots for spaces
Reacted by 張旭, Viktor, Michael Bayron, Matheus Calegaro, R.G., Dianzel and Bill Qiu
I really think that indent guide (vertical lines) would be useful.
Reacted by William Lima, Alessio Corridori, yyoda, Chad Greenburg, Mem Maina, Lucas Engel, Ryan Wolfe, Juan Martínez, Ivan Verevkin, Alvaro Dias and 29 more
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.
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).
Reacted by Jase Su, Don Worden, gentius, Ta Thanh Dinh, Dominik Moritz, Kevin Gutiérrez, Marvin Hagemeister, Shawn Taylor, Rodolpho Pivetta Sabino, Juan Pablo Solano and 15 more
Reacted by luna , Victor Bianchi, Dominique Müller, Philip Mateescu, Manuel Beaudru, Haris and Dace
Reacted by Mem Maina, Jonathan David Avendaño Ortega, Philip Mateescu, Haris, Karl Lin, Viktor and Lukas Weber
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
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.
Reacted by Christopher Schleiden, Mustafa Mohamad and ningunaparte
Activity
greybax commentedon Jan 22, 2016
Do you mean like it describes in this issue #1673 ?
adolfojbarreto commentedon Jan 22, 2016
Hi greybax, No, but thanks for the response :) ...let me see if i can draw it out here:
. . slkdfjkldsfaksdflkdasjf . .
. . alsdkfjieakegan;eikgie .
The guides are the dots that help align the tags above.
adolfojbarreto commentedon Jan 22, 2016
ok that did not work...lol. Basically they are lines or dots that connect open and closing tags. they help you align the code.
stkb commentedon Jan 23, 2016
I think you're wanting something like the Indent Guides extension for Visual Studio?
However, I find that if you turn on whitespace rendering by setting the
"editor.renderWhitespace"setting totrue, you get something that works almost just as well:It shows arrows for tabs and small dots for spaces
adolfojbarreto commentedon Jan 23, 2016
Hi yes...that's it. Thank You!
sylvainlap commentedon Jan 27, 2016
+1
I really think that indent guide (vertical lines) would be useful.
ianwesterfield commentedon Jan 29, 2016
👍
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 commentedon Mar 16, 2016
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 commentedon Apr 8, 2016
This extension solves the problem
17 remaining items
Tyriar commentedon Feb 6, 2017
Ali (@mosajjal) native support was added some time ago #2192 (comment)
mosajjal commentedon Feb 6, 2017
I just found it in the configuration. Thanks :)
gatspy commentedon Mar 3, 2017
Guides can try it.
mosajjal commentedon Mar 3, 2017
CG.gatspy (@gatspy) Guides can cause #19982
M-Fasciano commentedon Mar 18, 2017
"editor.renderIndentGuides": true
C0rn3j commentedon Apr 6, 2017
"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 commentedon Apr 6, 2017
"editor.renderWhitespace": "boundary"works for me in 1.11C0rn3j commentedon Apr 6, 2017
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 commentedon May 14, 2017
Michele Fasciano (@M-Fasciano) worked ++++1
hernimen commentedon May 16, 2017
ident guides!!! plz!!!!
A-lee-201 commentedon May 24, 2017
Was searching for this. Thanks!
abrahaobittar commentedon May 26, 2017
Thanks, worked 1.12.2
vsudakov commentedon May 30, 2017
Would be great to see it also in "Explorer" panel...
juancampa commentedon Jul 7, 2017
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.