2012-04-23 6 views
2

코드에서 단어 위로 커서를 이동하면 코드에서 동일한 단어가 모두 강조 표시됩니다. 동시에 모든 단어를 편집 할 수있는 지름길이 있습니까?코드 편집 바로 가기

답변

3

리팩토링 도구가 필요합니다.
Visual Studio에는 Refactor 도구 모음 또는 Refactor 컨텍스트 메뉴에서 사용할 수있는 매우 간단한 리팩터링 도구가 함께 제공됩니다. 당신이 찾고있는
기능은 이름 바꾸기라고하고 바로 가기 CTR+R, CTRL+R

다른 대안 (무료하지 않음) (수단은 두 번 키 CTRL과 R을 눌러)입니다 ReSharper 또는 CodeRush

좋은 설명 의 리펙토링 프로세스는 Martin Fowler's book, Refactoring에서 찾을 수 있습니다.

Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves its internal structure. It is a disciplined way to clean up code that minimizes the chances of introducing bugs. In essence, when you refactor you are improving the design of the code after it has been written.