xcode9: please remove in-editor error/warning indicators when the code they highlight has been deleted

Originator:markd
Number:rdar://34612474 Date Originated:9/23/2017
Status:Open Resolved:
Product:Developer Tools Product Version:Version 9.0 (9A235)
Classification:Open Reproducible:Always
 
Summary:

(I'd be even happier if rdar://32718717 were addressed to remove all in-editor indications of warnings and errors. I find them intrusive, plus it's an accessibility issue with my given chromatic aberration in my eyeglasses)

The in-editor errors/warning (the colored background, plus the in-edtior placards) do not go away when the code they indicate has been deleted.  Because these are now impossible to hide (We used to in Xcode8 - rdar://32718717), this colored intrusion persists for the entire time we're writing replacement code.  The "build then immediately interrupt" hack is not always an option because that stops the simulator too.

Steps to Reproduce:

Have a warning. Build. Get a wash of color over the warning.
Delete the entire line of code the warning points to

Expected Results:

The code goes away.  The warning goes away

Actual Results:

The code goes away.  A now-worthless warning stays.  Please see attached gif.

Version/Build:

Version 9.0 (9A235)
10.12.6 (16G29)


Configuration:

Xcode 8 used to let us hide these things. (command-control-M.  My favorite keystroke in Xcode8)

The warning stays if I delete the line with control-A control-K, also if I select the line with triple-clicking and backspace.  Deleting the whole function and then undoing it makes the warning go away.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!