XCode是否有像Visual Studio一样的光标导航堆栈? [英] Does XCode have a cursor navigation stack like Visual Studio?

查看:157
本文介绍了XCode是否有像Visual Studio一样的光标导航堆栈?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio跟踪光标位置,让您在这些位置前后移动。例如,您可以键入Ctrl + - 向后导航,按Ctrl + Shift-向前导航。

Visual Studio tracks cursor positions and lets you move forward and backward through these positions. For example, you can type Ctrl+- to navigate backwards and Ctrl+Shift- to navigate forwards.

我看到XCode跟踪您访问过的文件的历史记录,但它是否也允许我前进和后退光标位置?

I see that XCode tracks the history of which files you've visited, but does it also allow me to go forward and backward through the cursor locations?

我问的原因是因为我发现通过使用Command-Double左键单击,我访问函数定义(通常在同一个文件中),然后我想快速返回到我之前在同一个文件中的位置。因为我在同一个文件中,文件历史记录导航没用。目前我必须搜索代码以找出我的位置,这很乏味。

The reason I ask is because I find that by using Command-Double left click, I visit function definitions (often in the same file), and then I want to quickly return to where I was previously in the same file. Because I'm in the same file the file history navigation is not useful. Currently I have to search through the code to figure out where I was, which is tedious.

谢谢!

推荐答案

在xcode4中,[Control + Command +< - ]跳转到上一个,[Control + Command + - >]跳转到下一个。

In xcode4, [Control + Command + <--] jump to the previous, [Control + Command + -->] jump to the next one.

这篇关于XCode是否有像Visual Studio一样的光标导航堆栈?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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