[swift-evolution] multi-line string literals

Jason Dusek jason.dusek at gmail.com
Thu Dec 10 19:46:35 CST 2015

What do you all think about automatic dedenting of these literals? The
excess whitespace is rarely useful; and usually spawns a dedent function
which comes to decorate all such strings.

On Thu, 10 Dec 2015 at 17:43 Travis Tilley via swift-evolution
swift-evolution at swift.org <http://mailto:swift-evolution@swift.org> wrote:

I have no idea how genstrings and so forth work, but if they actually parse
> the code (which seems likely), then they'll be getting back the same AST
> they would for normal strings (since this feature would be implemented
> pretty much entirely in the swift lexer).
> If I am wrong, someone please correct me. I'm non-apple and don't know how
> all of this works. ;)
> -Travis Tilley
> On Thu, Dec 10, 2015 at 8:12 PM, Casey Cady <casey at kckd.org> wrote:
>> I really like the idea but I wonder how this would interact with
>> NSLocalizedString exporting within XCode.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151211/7fb703c8/attachment.html>

More information about the swift-evolution mailing list