문제

Is there a way (shortcut) to quickly comment out the current code line in CodeRush?

I've just moved over from ReSharper which seemed more intuitive in this matter.

And yes - I know about the "/" shortcut that comments out a selection of code. I'm looking for something that will meet my requirement without the need to select a code block.

도움이 되었습니까?

해결책 2

At the moment, you need to select the entire line including the leading whitespace to make the '/' shortcut work. See this article to learn more.

다른 팁

Built in VS Ctrl K Ctrl C does that job (and Ctrl K U to remove commenting)

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