+304
Completat

Add ability to show indentation lines

Metin Amiroff fa 14 anys updated by Cees Timmerman fa 9 anys 13
Indentation lines/guides make it extremely easy to see code at a glance. Especially when working with languages that depend on indentation, like Python.

See http://www.joeflash.ca/blog/2009/03/indentation-guides-in-flex-builder.html

Answer

-1
Answer
Completat

 This was added in build 2111

I agree! Although, if you select the lines you want to see which are nested, it does display spacing characters. Just show something similar when not selected!
+6
You can show whitespace characters all the time by setting
"draw_white_space": "all"In your user file preferences. This is a little distracting though, and certainly a lot noisier than showing just indentation lines like in the link originally posted.
+1
Just for everyone who haven't noticed yet: http://www.sublimetext.com/forum/viewtopic.php?f=5&t=1621&start=0
Of course this might be much faster when implemented in the core instead of a post processing plugin..
-1

Please fix the link.

+1
Looks like an extra semicolon or something in that link. I've been using this and it works great (but haven't stress-tested it for large files)

http://www.sublimetext.com/forum/viewtopic.php?f=5&t=1621&start=10#p7529
-2
This will be a great addition to Sublime Text2 which is also one of the reason I not buying this.... since notepad++ has this features.. and moreover its free.
-1
...Is this different from pressing F7?
-1
Oops! Wrong thread! Please remove! Sorry!
-1

Go to this file:

Packages/User/Base File.sublime-settings 


Add this line:

"rulers": [0, 4, 8, 12, 16]


Do you see the lines that have appeared are at every 4th character?
If your tab setting is 4 now you have your tab marks.

Change the settings above to match your preferences.

+1

 There's no need for this anymore..


File settings:


"draw_indent_guides": true

Hooray! This has been added in the latest release, and it even highlights the current indent level.

// Set to false to turn off the indentation guides.
    // The color and width of the indent guides may be customized by editing
    // the corresponding .tmTheme file, and specifying the colors "guide",
    // "activeGuide" and "stackGuide"
    "draw_indent_guides": true,
-1
Answer
Completat

 This was added in build 2111

+1

Notepad++ highlights the guides along with the braces, which is still missing in Sublime.