Resharper function to fix naming convention issues

前端 未结 2 1506
庸人自扰
庸人自扰 2021-02-14 14:29

A bunch of classes doesn\'t comply to our naming conventions for private variables. Resharper shows this as a warning, but wants me to fix all of them by hand. Is there some mag

2条回答
  •  孤独总比滥情好
    2021-02-14 15:06

    No, resharper will not silently perform an action that alters the behavior of code, only style/aesthetics.

    You must actively make functional changes to code.

    put your cursor at the top of the file, hold down ALT and alternate between PAGE DOWN to get to the next style issue and ENTER to bring up the smart tag to make the change.

    use SHFT-ALT PAGE DOWN to cycle through errors.

提交回复
热议问题