简体   繁体   English

打开新的cpp文件时如何使qtcreator更改项目视图

[英]How can I make qtcreator change the Project view when I open a new cpp file

There is this feature that IDEA IntelliJ has: when a new file is opened the Project tree (view) automatically jump to the file opened (handy when you follow a function defined in some other file). IDEA IntelliJ具有此功能:打开新文件时, Project树(视图)会自动跳转到打开的文件(在遵循某些其他文件中定义的功能时非常方便)。

I'd like to know if qtcreator provide this option 我想知道qtcreator提供此选项

Surprised how hard it is to find the answer, since the button isn't hugely obvious. 因为按钮并不是很明显,所以很难找到答案。

The button you want is at the top of the Project pane, between "filter" and "split". 所需的按钮位于“项目”窗格的顶部,在“过滤器”和“拆分”之间。 Tooltip says "synchronize with editor". 工具提示显示“与编辑器同步”。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 每次从其中一个项目打开文件时,是否可以将Visual Studio配置为不更改StartUp Project? - Can I configure Visual Studio NOT to change StartUp Project every time I open a file from one of the projects? 如何从我在 Code::Blocks 中打开的文件或项目中查看函数列表? - How do I view a Function List from my open file or project in Code::Blocks? 当找不到我要打开的文件时,阻止MATLAB创建新文件 - Prevent MATLAB from creating a new file when it can't find the file I want to open 创建新项目时,如何更改Visual Studio 2013(C ++)中的默认#include? - How to change default #includes in Visual Studio 2013(C++) when I create a new project? 尝试从 windows 资源管理器打开 a.java 文件时,我收到“找不到可打开文件的项目”错误消息 - When trying to open a .java file from windows explorer I get a “No project found to open file in” error message 如何在PhpStorm 8中更改默认的新/打开项目目录? - How to change the default new/open project directory in PhpStorm 8? 在netbeans中,如何在项目视图中选择所有当前打开的文件 - In netbeans how do I select all currently open files in the project view 在Vim中,当创建具有特定扩展名的新文件时,如何创建一个从可能的模板中选择的对话框? - In Vim, how can I create a dialogue that chooses from possible templates when a new file with certain extension is created? 如何通过 goormIde 的终端打开文件 - How can I open a file through terminal of goormIde 打开IntelliJ Project时如何执行终端命令? - How can I execute a terminal command when opening IntelliJ Project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM