'단축키'에 해당되는 글 1건

Some Time-Saving Commands and Key Remappings for the VC IDE

Save time and impress co-workers with these great keyboard shortcuts

------------------------------------------------------------------------------------------------------------

Over many months of using VC 6, I've come up with a few keyboard shortcuts that are really handy,
 save a few seconds here and there, and really impress co-workers. Many of the commands aren't
apparent, and you wouldn't even know some of them existed unless you went through the entire
command list on the Keyboard tab in the Tools-Customize dialog.

 

VC 6 수개월 넘도록 사용하면서, 필자는 정말 편리한 키보드 단축키를 사용하여, 여기저기서 시간을 절약하고,
동료 작업자들에게 깊은 인상을 주었다. 많은 명령들이 명백하지 않아서, 여러분은 이것들 몇몇은 존재하는지 조차도
알지 못했을 있다. Tools-Customize 대화상자에 있는 키보드 탭에서 모든 명령리스트를 살펴보았다면 모르지만.

 

The first table lists the commands that I can't live without and use all the time. The second table lists
 commands I don't use quite as often, but which I still find handy. Commands marked as "built-in"
already have the listed keyboard assignment. For the other commands, you'll need to map the keys
yourself.

 

번째 표는 필자가 항상 사용하며, 이것들 없이는 못사는 명령들의 리스트이다. 번째 표는 필자가 아주 자주 사용하지
않지만, 여전히 편리하다고 생각하는 명령들의 리스트이다. “built-in”이라고 표시된 명령들은 이미 키보드가 할당되어
있는
것들이다. 그렇지 않은 명령들을 사용하기 위해서는, 여러분이 직접 키를 매핑해주어야 한다.

 

Must-Have Commands

Key

Command

Description

Ctrl+Shift+up arrow

WBGoToPrevious

Moves to the previous function in the current file.

현재 파일에서 이전 함수로 이동

Ctrl+Shift+down arrow

WBGoToNext

Moves to the next function in the current file.

현재 파일에서 다음 함수로 이동

Ctrl+Shift+G

FileGoTo (built-in)

If the cursor is over a filename, opens that file. Usually you move the cursor up to an #include line and then use this command.

커서가 파일 이름 위에 있다면 파일을 연다. 커서를 #include 라인에 놓은 명령을 사용하라.

Ctrl+Shift+H

WBOpenInclude

Brings up a dialog listing all headers #include'd in the current file. Select a header and it will be opened.

현재 파일에 #include되어있는 모든 헤더파일의 리스트를 가지는 대화상자를 연다. 헤더를 선택하면, 열릴 것이다.

Ctrl+I

SearchIncremental (built-in)

Begins an incremental search. Press these keys and then start typing the text to search for. The caret will move through the file as you type. Hit Enter to leave search mode. You can then use the other search keys (like F3) to continue searching for the same text.

점진적인 검색, 키를 누르고 검색할 텍스트를 타이핑하기 시작하라. 캐럿이 여러분이 타이핑하는 대로 파일 내에서 움직일 것이다. 검색 모드를 끝내려면 엔터를 눌러라. 여러분은 다른 검색 (F3 같은) 사용하여 같은 텍스트에 대해 검색을 계속할 있다.

Ctrl+Shift+F7

BuildRebuildAll

Rebuilds all files in the current project.

현재 프로젝트의 모든 파일을 리빌드한다.

Ctrl+F3

FindNextWord (built-in)

Finds the next occurrence of the word that the caret is currently over.

캐럿이 현재 위치한 곳의 단어가 다시 나타나는 곳으로 이동한다.

Ctrl+Shift+F3

FindPrevWord (built-in)

Same as Ctrl+F3, but searches backwards.

Ctrl+F3 같지만, 뒤쪽으로 검색한다.

Alt+F7

ProjectSettings (built-in)

Opens the project settings dialog.

프로젝트 세팅 다이얼로그를 연다.

Alt+Num *

DebugShowNextStatement (built-in)

Moves the caret to the next statement to be executed (only when broken in debug mode).

캐럿을 실행될 다음 문장으로 이동한다. (디버그 모드에서 멈췄을 때에만 사용가능)

Shift+Num *

DebugShowNextStatement

I add this key mapping because it's possible to type with one hand, while the previous one isn't. Yes, I'm lazy. :)

필자는 키를 매핑했다. 왜냐하면 한손으로 타이핑할 있기 때문이다. 원래 것은 그럴 없다. 그래 게으르당.

Ctrl+Shift+F9

DebugRemoveAllBreakpoints (built-in)

Deletes all breakpoints.

모든 중지점을 삭제한다.

Ctrl+Alt+Shift+F9

DebugDisableAllBreakpoints

Disables all breakpoints.

모든 중지점을 사용 불가능하게 한다.

Ctrl+M

CheckMnemonicKeys (built-in)

Checks for duplicate shortcut keys in a dialog or menu.

다이얼로그나 메뉴에서 중복되는 단축키를 체크한다.

 

Other Time-Savers

Key

Command

Description

Ctrl+Enter

LineOpenBelow

Opens a blank line below the current line and moves the caret to the new line.

현재 라인 아래에 라인을 만들고 라인으로 캐럿을 이동시킨다.

Ctrl+Shift+F8

SelectColumn (built-in)

Begins a selection - move the caret to select columns of text. Easier than Alt-dragging.

선택을 시작한다. – 텍스트 컬럼을 선택하려면 캐럿을 이동하라. Alt-드래깅 보다 쉽다.

Ctrl+Shift+S

FileSaveAll

Saves all open files.

열려있는 모든 파일 저장

Alt+F8

SelectionFormat (built-in)

Formats the selected text according to your indentation preferences. Great for when you cut & paste code out of MSDN and the code loses its indentation.

여러분의 들여쓰기 설정에 따라 선택된 텍스트의 포맷을 바꾼다. MSDN에서 코드를 복사해 붙여넣을 매우 좋다. 코드는 원래의 들여쓰기를 잃어버릴 것이다.

Ctrl+Alt+up arrow

LevelUp

Moves to the previous occurrence of a start of a block (for instance, the next left brace).

블록 시작의 처음으로 이동한다. (예를 들어, 다음 왼쪽 중괄호로 이동)

Ctrl+Alt+down arrow

LevelDown

Moves to the next occurrence of an end of a block (for instance, the next right brace).

블록의 끝으로 이동한다. (예를 들어 다음 오른쪽 중괄호로 이동)

Ctrl+Shift+X

CutAppendNext

Press these keys right before a cut (Ctrl+X) to append the cut text to the end of the clipboard.

잘라내기(Ctrl+X)하기 바로 전에 키를 사용하여 잘라낸 텍스트를 클립보드의 끝에 추가한다.

Ctrl+E

GoToMatchBrace (built-in)

If the caret is over a parenthesis, bracket, or brace, moves the caret to the matching character.

캐럿이 괄호, 꺽쇠괄호, 중괄호에 있을 , 매칭되는 문자로 캐럿을 이동한다.

Ctrl+Shift+E

GoToMatchBraceExtend (built-in)

Same as Ctrl+E, but selects the text between the matching characters as well.

Ctrl+E 같다. 하지만 매칭되는 문자 사이에 있는 텍스트를 선택한다.

Ctrl+Shift+T

WindowScrollToTop

Scrolls the window so the current line is at the top of the window.

현재 라인이 윈도우의 상단에 위치하도록 윈도우를 스크롤한다.

Ctrl+Shift+C

WindowScrollToCenter

Scrolls the window so the current line is at the center of the window.

현재 라인이 윈도우의 중앙에 오도록 윈도우를 스크롤한다.

Ctrl+Shift+B

WindowScrollToBottom

Scrolls the window so the current line is at the bottom of the window.

현재 라인이 윈도우의 바닥에 위치하도록 윈도우를 스크롤한다.

Ctrl+J

ConditionalUp (built-in)

Moves back to an enclosing #if.

감싸고 있는 #if 이동한다.

Ctrl+K

ConditionalDown (built-in)

Moves forward to an enclosing #else or #endif.

감싸고 있는 #else #endif 이동한다.

Ctrl+Alt+S

WindowSplitHorizontal

Splits a text editor window into two panes (with the split running horizontally).

텍스트 에디터 윈도우를 두개의 영역으로 나눈다. (수평으로 나눔)

Alt+Up arrow

WindowSwitchPaneUp

Moves one pane up in a split window.

나누어진 윈도우의 위쪽 영역으로 이동한다.

Alt+Down arrow

WindowSwitchPaneDown

Moves one pane down in a split window

나누어진 윈도우의 아래쪽 영역으로 이동한다.

Alt+Left arrow

WindowSwitchPaneLeft

Moves one pane left in a split window

나누어진 윈도우의 왼쪽 영역으로 이동한다.

Alt+Right arrow

WindowSwitchPaneRight

Moves one pane right in a split window

나누어진 윈도우의 오른쪽 영역으로 이동한다.

 

You can get the latest updates to this and my other articles at http://home.inreach.com/mdunn/code/

 

글의 최신 업데이트와 필자의 다른 글들을 http://home.inreach.com/mdunn/code/ 에서 있다.

 

About Michael Dunn

 

Michael lives in sunny Los Angeles, California, and is so spoiled by the weather that he will probably never be able to live anywhere else. He started programming with an Apple //e in 4th grade, graduated from UCLA with a math degree in 1995, and immediately landed a job as a QA engineer at Symantec, working on the Norton AntiVirus team. He pretty much taught himself Windows and MFC programming, and in 1999 he designed and coded a new interface for Norton AntiVirus 2000.

Mike now works as a developer at Napster, an online subscription music service. He also developed UltraBar, an IE toolbar plugin that makes web searching easy and trounces the Google toolbar; the CodeProject SearchBar; and has co-founded Zabersoft, a development company with offices in
Los Angeles and Odense, Denmark.

He also enjoys his hobbies of playing pinball, bike riding, and the occasional PlayStation, Dreamcast, or MAME game. He is also sad that he's forgotten the languages he's studied: French, Mandarin Chinese, and Japanese.

Click here to view Michael Dunn's online profile.



============================================================================================================

<Visual C++의 유용한 단축키>

* Ctrl+F3 : 현재 커서가 있는 위치의 단어가 나오는 다음 위치를 찾아줍니다. Ctrl+Shift+F3을 누르면 이전 걸 찾아주죠.

* Ctrl+H : replace입니다. 특히 일정부분안의 변수 이름을 변경하거나 할 때 범위를 선택한 다음에 Ctrl+H를 누르면 편하죠.

* Ctrl+], Ctrl+E : 괄호 짝을 맞춰줍니다. {위에서 누르면 짝이 맞는 }를 찾아주지요.

* Ctrl+L : 한줄을 잘라냅니다. -> 클립보드로

* Ctrl+Shift+L : 한줄을 지웁니다.

* Ctrl+J, K : #ifdef ... #endif 쌍을 찾는데 사용합니다.

* 그외 Ctrl을 누르고 커서나 Delete, Backspace를 누르면 단어 단위로 동작을 하게 됩니다.

* Alt+F8 : 인덴트 정리. 일정 범위를 선택하고 누르면 라인 앞부분의 공백을 자동으로 조정해줍니다.

* CTRL+SHIFT+T : 커서 위치의 단어와 앞 단어가 서로 교체 됩니다.

* ALT+SHIFT+T : 커서 위치의 한줄과 윗줄이 서로 교환됩니다.

* Shift + F9 : 디버그 모드에서 추가하고픈 변수나 등등 앞에 커서를 위치 시킨후 Shift+F9를

누르면 Watch Window에 자동으로 추가.

* Ctrl + Alt + T , Ctrl + Spacebar : 멤버목록 팝업창이 나타납니다 (참고로 대소문에 관계없습니다.)

* Ctrl + Shift + U : 소문자를 대문자로 바꾸고 싶을때 블럭 지정을 한다음 이 키를 누르면 소문자가 대문자로 둔갑.

* Ctrl + U : 대문자를 소문자로 변경

* Ctrl + Shift + 8 : Tab은 ^모양으로 공백문자는 .로 변경, 다시 누르면 설정이 해제

블로그 이미지

요다할아범

,