<div dir="ltr">> <span style="font-size:13px">Xcode creates warning as you type</span><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">And the warnings also tend to obscure my typing (rdar://</span>27141386 - warning box occludes typing when trying to fix a warning). </div><div><span style="font-size:13px"><br></span></div><div>I turn live issues off (even though that kind of breaks playground error reporting - rdar://27162167 - playgrounds don't show any errors unless Live Issues is on) - I know enough of what I'm doing to where I can wait until the code isn't in an indeterminate state any more and then kick off a build to error-check.</div><div><br></div><div>command-control-M is also a favorite keystroke to hide the in-editor notices. You still get them in the gutter.<br></div><div><br></div><div>++md</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 8, 2016 at 5:00 AM, Tino Heth via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A try that isn't needed is suspicious… but imho there is a problem with warnings, but that isn't primarily caused by Swift itself.<br>
<br>
Xcode creates warning as you type, and those often don't help, but just distract, as most of them aren't actually dangerous at all:<br>
- Yes, I'm not using this value yet… but I promise I'll do so five lines further down<br>
- The same with vars that are waiting for their first change<br>
(those two are the worst for me)<br>
Things like those don't help me at all, but are rather a distraction — but I'm no fan spoon-feeding in general, and would prefer to move most Swift-warnings out of the compiler and into a linter.<br>
<br>
Tino<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
</div></div></blockquote></div><br></div>