낙타 케이스 선택이있는 Visual Studio 플러그인 (바람직하게는 Resharper)이 있습니까 [복제

StackOverflow https://stackoverflow.com/questions/601422

  •  03-07-2019
  •  | 
  •  

문제

가능한 복제 :
CTRL 및 커서 키를 누를 때 Camelcase를 이해하는 Visual Studio 만들기

정확한 복제 이 스레드

코드에 매우 긴 변수 / 필드 이름이 있으며 Ctrl+Shift+Right-Arrow 및 Ctrl+Shift+왼쪽에 대한 기본 동작이 낙타 케이싱을 준수하는 것보다 덜 생산적이라고 생각합니다. 여기 예입니다.

커서가 Andanotherthing의 A 이전에 있다고 가정 해보십시오. Ctrl+Shift+Right Arrow는 전체 변수를 선택하는 반면 낙타 케이스에 대한 준수는 선택 및 만 선택됩니다.

이를 수행 할 수있는 Visual Studio 용 도구 나 플러그인이 있습니까?

편집하다:

또한 Ctrl+왼쪽 장식 및 Ctrl+오른쪽 화살표에 대한 비슷한 동작을 원합니다.

도움이 되었습니까?

해결책

Resharper supports it, select Use CamelHumps in ReSharper | Options | Editor and it will work as you expect.

다른 팁

I think Visual Assist X does what you described.

Well, it's not quite what you're asking for, but Resharper has a very useful (but hard to find out about) feature where it respects camelCase by allowing you to type just the Capital Letters of the name.

For example, if you have this declaration

List<int> myList;

then when you could type

myList.ARO|

and the Resharper intellisense will have automagically selected AsReadOnly as the completion.

Works for GotoType and GotoMember as well.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top