Gemini Code Assist 기능의 단축키
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Gemini Code Assist는 Gemini 2.5 모델을 사용하여 AI 기반 지원을 제공하여 개발 팀이 소프트웨어 개발 수명 주기 전반에 걸쳐 애플리케이션을 빌드, 배포, 운영할 수 있도록 합니다.
이 페이지에서는 Windows, Linux, macOS 사용자를 위해 VS Code, IntelliJ, 기타 지원되는 JetBrains IDE에서 사용할 수 있는 단축키를 간략하게 설명합니다.
코드 생성 단축키
IntelliJ
작업 |
단축키(Windows/Linux) |
단축키(macOS) |
코드 파일의 인라인으로 코드 생성 |
Control+G |
Option+G |
인에디터 프롬프트 열기 |
Control+\ |
Command+\ |
터미널 단축키
IntelliJ
현재 IntelliJ 및 기타 지원되는 JetBrains IDE용 Gemini Code Assist에는 기본 터미널 단축키가 없습니다.
Chat 바로가기
VS Code
작업 |
단축키(Windows/Linux) |
단축키(macOS) |
이전 채팅 프롬프트 순환 |
위쪽/아래쪽 화살표 |
위쪽/아래쪽 화살표 |
IntelliJ
작업 |
단축키(Windows/Linux) |
단축키(macOS) |
이전 채팅 프롬프트 순환 |
위쪽/아래쪽 화살표 |
위쪽/아래쪽 화살표 |
단축키 수정
기본 Gemini Code Assist 단축키를 변경하려면 다음 단계를 따르세요.
VS Code
IDE에서 파일 (Windows 및 Linux) 또는 코드 (macOS)를 클릭한 후 설정 > 단축키로 이동합니다.
단축키 목록에서 변경하려는 단축키를 찾을 때까지 스크롤합니다. 예: Gemini Code Assist: 코드 생성
변경하려는 단축키(예: Gemini Code Assist: 코드 생성)를 클릭한 다음 edit 키 바인딩 변경을 클릭합니다.
대화상자가 표시되면 원하는 단축키를 입력합니다.
Enter(Windows 및 Linux의 경우) 또는 Return(macOS의 경우)을 누릅니다.
이제 IDE에서 새로 할당된 단축키를 사용할 수 있습니다.
IDE에서 단축키를 변경하는 방법은 Visual Studio 코드의 키 바인딩을 참조하세요.
IntelliJ
settings
IDE 및 프로젝트 설정 > 설정 > 키맵 > 플러그인 > Gemini Code Assist로 이동합니다.
변경하려는 단축키(예: 코드 생성)를 마우스 오른쪽 버튼으로 클릭하고 단축키 추가를 선택합니다.
원하는 단축키를 입력한 후 확인을 클릭합니다.
단축키를 다시 마우스 오른쪽 버튼으로 클릭하고 단축키를 삭제합니다. 예를 들어 코드 생성을 마우스 오른쪽 버튼으로 클릭하고 Alt+G 삭제(Windows 및 Linux의 경우) 또는 Option+G 삭제(macOS의 경우)를 선택합니다.
이제 IDE에서 새 단축키를 사용할 수 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-31(UTC)
[null,null,["최종 업데이트: 2025-08-31(UTC)"],[],[],null,["Gemini Code Assist provides AI-powered assistance to help your\ndevelopment team build, deploy, and operate applications throughout the software\ndevelopment lifecycle, using the Gemini 2.5 model.\n\nThis page provides an overview of the keyboard shortcuts you can use in VS Code,\nIntelliJ, and\n\n[other supported JetBrains IDEs](/gemini-code-assist/docs/supported-languages#supported_ides),\nfor Windows, Linux, and macOS users.\n\nCode generation shortcuts \n\nVS Code\n\n| Action | Keyboard shortcut (Windows/Linux) | Keyboard shortcut (macOS) |\n|-------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|---------------------------|\n| Navigate to chat interface | \u003ckbd\u003eAlt+G\u003c/kbd\u003e | \u003ckbd\u003eOption+G\u003c/kbd\u003e |\n| [Add the current highlighted code to the Gemini Chat context](/gemini-code-assist/docs/chat-gemini#add_selected_code_snippets_to_context) | \u003ckbd\u003eControl+Alt+X\u003c/kbd\u003e | \u003ckbd\u003eCommand+Alt+X\u003c/kbd\u003e |\n\nIntelliJ\n\n| Action | Keyboard shortcut (Windows/Linux) | Keyboard shortcut (macOS) |\n|-------------------------------------|-----------------------------------|---------------------------|\n| Generate code inline of a code file | \u003ckbd\u003eControl+G\u003c/kbd\u003e | Option+G |\n| Open In-Editor prompt | \u003ckbd\u003eControl+\\\u003c/kbd\u003e | \u003ckbd\u003eCommand+\\\u003c/kbd\u003e |\n\nTerminal shortcuts \n\nVS Code\n\n| Action | Keyboard shortcut (Windows/Linux) | Keyboard shortcut (macOS) |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|---------------------------|\n| [Add the current highlighted terminal content to the Gemini Chat context](/gemini-code-assist/docs/chat-gemini#prompt_with_selected_terminal_output_using_chat) | \u003ckbd\u003eControl+Alt+X\u003c/kbd\u003e | \u003ckbd\u003eCommand+Alt+X\u003c/kbd\u003e |\n\nIntelliJ\n\nThere aren't any default terminal shortcuts for\nGemini Code Assist for IntelliJ and other supported JetBrains\nIDEs at this time.\n\nChat shortcuts \n\nVS Code\n\n| Action | Keyboard shortcut (Windows/Linux) | Keyboard shortcut (macOS) |\n|----------------------------------|-----------------------------------|---------------------------|\n| Cycle through prior chat prompts | \u003ckbd\u003eUp/down arrows\u003c/kbd\u003e | \u003ckbd\u003eUp/down arrows\u003c/kbd\u003e |\n\nIntelliJ\n\n| Action | Keyboard shortcut (Windows/Linux) | Keyboard shortcut (macOS) |\n|----------------------------------|-----------------------------------|-----------------------------------|\n| Cycle through prior chat prompts | \u003ckbd\u003eUp/down arrows\u003c/kbd\u003e | \u003ckbd\u003eUp/down arrows\u003c/kbd\u003e |\n| New chat | \u003ckbd\u003eControl+Alt+Windows+Up\u003c/kbd\u003e | \u003ckbd\u003eControl+Alt+Command+Up\u003c/kbd\u003e |\n\nEdit keyboard shortcuts\n\nIf you prefer to change any of the default Gemini Code Assist\nshortcuts, you can do so by following these steps: \n\nVS Code\n\n1. In your IDE, click **File** (for Windows and Linux) or **Code** (for\n macOS), and then navigate to **Settings** \\\u003e **Keyboard\n Shortcuts**.\n\n2. In the list of keyboard shortcuts, scroll until you find the shortcut that\n you want to change. For example: **Gemini Code Assist: Generate code**.\n\n3. Click the shortcut that you want to change (for example, **Gemini Code\n Assist: Generate Code** ), and then click\n edit **Change\n Keybinding**.\n\n4. In the dialog that appears, enter your own shortcut.\n\n5. Press \u003ckbd\u003eEnter\u003c/kbd\u003e (for Windows and Linux) or \u003ckbd\u003eReturn\u003c/kbd\u003e (for\n macOS).\n\n You can now use your newly assigned keyboard shortcut in your IDE.\n\nTo learn more about changing shortcuts in your IDE, see\n[Keybindings for Visual Studio Code](https://code.visualstudio.com/docs/getstarted/keybindings).\n\nIntelliJ\n\n1. Navigate to settings\n **IDE and Project Settings** \\\u003e **Settings** \\\u003e\n **Keymap** \\\u003e **Plugins** \\\u003e **Gemini Code Assist**.\n\n2. Right-click the shortcut you want to change (for example, **Generate\n Code** ) and select **Add Keyboard Shortcut**.\n\n3. Enter your preferred keyboard shortcut and then click **OK**.\n\n4. Right-click the shortcut again and remove the shortcut. For example,\n right-click **Generate code** and select **Remove \u003ckbd\u003eAlt+G\u003c/kbd\u003e** (for\n Windows and Linux), or **Remove \u003ckbd\u003eOption+G\u003c/kbd\u003e** (for macOS).\n\nYou can now use your new keyboard shortcut in your IDE."]]