Xcode should change the background color of lines containing `#pragma mark -`
Xcode should change the background color of lines containing `#pragma mark -`
- Subject: Xcode should change the background color of lines containing `#pragma mark -`
- From: Kyle Sluder <email@hidden>
- Date: Wed, 19 Feb 2014 14:42:57 -0800
I use `#pragma mark -` a lot, and I just realized that I'd appreciate if
its effects were reflected in the source editor, not just the jump list.
So I filed <rdar://problem/16114269> and attached a couple screenshots
of what I'd like to see. I'm throwing this out here for anyone who might
be interested in filing a duplicate. :)
Screenshots are at <http://imgur.com/a/zNY4C>.
Summary:
Xcode interprets `#pragma mark -` to mean "put a separator line above
the next symbol in the jump list."
That's really useful. But since I spend a lot of time looking at source
files, rather than in the jump bar, it would be even more useful to
adorn the _source editor_ with some sort of separator above or around a
`#pragma mark -`.
The first idea that comes to mind is to change the background color of a
line that begins with `#pragma mark -`. That's what a lot of other
editors do. But if that's too annoying, perhaps a dotted line above the
line containing the `#pragma`?
I've attached mockups of how this might look.
Steps to Reproduce:
1. Add a `#pragma mark -` line to a C source file.
Expected Results:
Line is adorned to somehow set it off from the rest of the file.
Actual Results:
Line is unadorned.
Version:
5.0.2 (5A3005)
--Kyle Sluder
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden