简体   繁体   中英

Visual Studio 2019 not underlining errors on Mac

Visual Studio is not underlining errors. For example on my PC if type out: private int myInt

it will put a little red underline after because i forgot ;

on my mac it does nothing making debugging a lot harder.

I did a few google searches but the only thing i find is to go to Tools → Options → Text Editor → C# → Advanced → Underline errors. Tools doesn't have an options tab on the Mac version, and when I found the Text Editor → C# under preferences, theres no Advanced option.

The setting is View -> Inline Messages. HOWEVER: This was set correctly and it still didn't work for me. After a combination of fixing compile errors (letting it compile once) and then restarting VS, it is now working for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM