Gemini Code Assist özelliklerinin klavye kısayolları
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Gemini Code Assist, Gemini 2.5 modelini kullanarak yazılım geliştirme yaşam döngüsü boyunca geliştirme ekibinizin uygulamaları oluşturmasına, dağıtmasına ve çalıştırmasına yardımcı olmak için yapay zeka destekli yardım sunar.
Bu sayfada, Windows, Linux ve macOS kullanıcıları için VS Code, IntelliJ ve diğer desteklenen JetBrains IDE'lerinde kullanabileceğiniz klavye kısayollarına genel bir bakış sunulmaktadır.
Kod oluşturma kısayolları
IntelliJ
İşlem |
Klavye kısayolu (Windows/Linux) |
Klavye kısayolu (macOS) |
Kod dosyasının satır içi kodunu oluşturma |
Control+G |
Option+G |
Düzenleyici içi istemi açma |
Control+\ |
Command+\ |
Terminal kısayolları
IntelliJ
Şu anda Gemini Code Assist for IntelliJ ve desteklenen diğer JetBrains IDE'leri için varsayılan terminal kısayolları yoktur.
Chat kısayolları
VS Code
İşlem |
Klavye kısayolu (Windows/Linux) |
Klavye kısayolu (macOS) |
Önceki sohbet istemleri arasında geçiş yapma |
Yukarı/aşağı oklar |
Yukarı/aşağı oklar |
IntelliJ
İşlem |
Klavye kısayolu (Windows/Linux) |
Klavye kısayolu (macOS) |
Önceki sohbet istemleri arasında geçiş yapma |
Yukarı/aşağı oklar |
Yukarı/aşağı oklar |
Klavye kısayollarını düzenleme
Varsayılan Gemini Code Assist kısayollarından herhangi birini değiştirmek isterseniz aşağıdaki adımları uygulayabilirsiniz:
VS Code
IDE'nizde File (Windows ve Linux için) veya Code'u (macOS için) tıklayın ve ardından Settings > Keyboard Shortcuts'a (Klavye Kısayolları) gidin.
Klavye kısayolları listesinde, değiştirmek istediğiniz kısayolu bulana kadar kaydırın. Örneğin: Gemini Code Assist: Kod oluşturma.
Değiştirmek istediğiniz kısayolu (örneğin, Gemini Code
Assist: Generate Code) ve ardından edit Change
Keybinding'i (Tuş Bağlantısını Değiştir) tıklayın.
Açılan iletişim kutusuna kendi kısayolunuzu girin.
Enter (Windows ve Linux için) veya Return (macOS için) tuşuna basın.
Artık IDE'nizde yeni atadığınız klavye kısayolunu kullanabilirsiniz.
IDE'nizdeki kısayolları değiştirme hakkında daha fazla bilgi edinmek için Keybindings for Visual Studio Code (Visual Studio Code için tuş bağlamaları) başlıklı makaleyi inceleyin.
IntelliJ
settings
IDE and Project Settings > Settings >
Keymap > Plugins > Gemini Code Assist'e (IDE ve Proje Ayarları > Ayarlar > Tuş Haritası > Eklentiler > Gemini Code Assist) gidin.
Değiştirmek istediğiniz kısayolu (örneğin, Generate
Code) sağ tıklayın ve Add Keyboard Shortcut'u (Klavye Kısayolu Ekle) seçin.
Tercih ettiğiniz klavye kısayolunu girin ve Tamam'ı tıklayın.
Kısayolu tekrar sağ tıklayıp kaldırın. Örneğin, Kod oluştur'u sağ tıklayın ve Alt+G kısayolunu kaldır'ı (Windows ve Linux için) veya Option+G kısayolunu kaldır'ı (macOS için) seçin.
Artık yeni klavye kısayolunuzu IDE'nizde kullanabilirsiniz.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-31 UTC.
[null,null,["Son güncelleme tarihi: 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."]]