Key Promoter X is a plugin that shows a popup notification with the corresponding keyboard shortcut whenever a command is executed using the mouse.Memorizing these hotkeys can help you stay more productive by keeping your hands on the keyboard.If your keyboard does not have an English layout, CLion may not detect all of the shortcuts correctly.
The following table lists some of the most useful shortcuts to learn: Shortcut Action Double Shift Search Everywhere Find anything related to CLion or your project and open it, execute it, or jump to it. CtrlShiftA Find Action Find a command and execute it, open a tool window or search for a setting. AltEnter Show intention actions and quick-fixes Fix highlighted error or warning, improve or optimize a code construct. CtrlE View recent files Select a recently opened file from the list. CtrlW CtrlShiftW Extend or shrink selection Increase or decrease the scope of selection according to specific code constructs. Ctrl CtrlShift Addremove line or block comment Comment out a line or block of code. AltF7 Find usages Show all places where a code element is used across your project. This cheat sheet is also available under Help Keymap Reference. Choose the right keymap To view the keymap configuration, open the SettingsPreferences dialog CtrlAltS and select Keymap. Enable function keys and check for possible conflicts with global OS shortcuts. Use a predefined keymap CLion automatically suggests a predefined keymap based on your environment. Make sure that it matches the OS you are using or select the one that matches shortcuts from another IDE or editor you are used to (for example, Eclipse or NetBeans). Tune your keymap You can modify a copy of any predefined keymap to assign your own shortcuts for commands that you use frequently. Import custom keymap If you have a customized keymap that you are used to, you can transfer it to your installation. Besides the default set of keymaps, you can add more as plugins (such as, keymaps for GNOME and KDE): open the SettingsPreferences dialog CtrlAltS, select Plugins and search for keymap in the Marketplace. If your keymap stopped working after an update, it is likely that the keymap is not available by default in the new version of CLion. Find this keymap as a plugin and install it on the Plugins page as described in Plugins. Learn shortcuts as you work CLion provides several possibilities to learn shortcuts: Find Action is the most important command that enables you to search for commands and settings across all menus and tools. Press CtrlShiftA and start typing to get a list of suggested actions. Then select the necessary action and press Enter to execute it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |