CLion:键盘cmd可以在标头和实现文件之间切换,例如xcode [英] CLion: Keyboard cmd to switch between header and implementation files like in xcode

查看:67
本文介绍了CLion:键盘cmd可以在标头和实现文件之间切换,例如xcode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在xcode中,我输入cmd-shift上/下以在.h和.c文件之间切换。如何在CLion中做到这一点?或更有用的是,该操作将在键盘图中被称为什么?我找不到非常有用的键映射名称。

In xcode I type cmd-shift up/down to switch between .h and .c files. How do I do that in CLion? Or more usefully, what would that action be called in the keymap? I don't find the keymap names terribly usefully named. None stand out for this purpose, including after the usual googling.

推荐答案

快捷键在键盘图中称为相关符号。

在Mac上默认为 Ctrl + Cmd + Up ,在Windows / Linux上为
-to Ctrl + Alt + Home

The shortcut is called 'Related Symbol' in the keymap.
On Mac it defaults to Ctrl+Cmd+Up,
on Windows/Linux -- to Ctrl+Alt+Home.

这篇关于CLion:键盘cmd可以在标头和实现文件之间切换,例如xcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆