gpt4 book ai didi

pycharm - 定义 'Find in Path' (PyCharm) 的默认范围

转载 作者:行者123 更新时间:2023-12-02 05:05:50 31 4
gpt4 key购买 nike

我正在使用 PyCharm Community Edition 4.0.4,我想为“在路径中查找”的范围设置默认选项。

目前,按 Ctrl-Shift-F(“在路径中查找”命令)会弹出一个窗口,其中选择了“所有项目”,我希望将“目录”与自定义目录设置为默认目录。这是一张图片:

enter image description here

我在设置中搜索了类似的内容,但找不到。如有任何帮助,我们将不胜感激。

更新:我最近发现,通过右键单击我的项目文件夹并选择“在路径中查找...”(我的意思是实际上单击该选项),范围自动设置为项目目录!奇怪的是,右键单击项目文件夹的下拉菜单中显示的键盘快捷键与我使用的完全相同。但是,使用快捷方式会产生“范围”的“所有项目”选择...

无论如何,我仍然希望为“在路径中查找”对话框设置一个默认目录 - 最好是无论如何调用该对话框都一致使用的目录(快捷方式,单击下拉选项)。

最佳答案

这似乎是类似 Intellij 的 IDE(例如 Pycharm)的默认行为。

JetBrains 支持人员的回答:

"We have related issue in YouTrack: https://youtrack.jetbrains.com/issue/IDEA-87037 Feel free to vote for it and leave comments."

我重现了以下问题的文本,以防链接失效:

IDEA-87037 Usability: Find in Path -- NOT in Whole project

What steps will reproduce the problem? 1. Press Shift-Ctrl-F

What is the expected result? The dialog comes up with the previously selected Scope.

What happens instead? The dialog always comes up with "Whole project" selected.

After having selected "Directory" for the 257th time (and forgetting it one out of four times) I can't help thinking that this is really stupid and obnoxious software.

I want to search in the entire project maybe once out of 100 times. Why does PhpStorm keep insisting that I should search in the whole project?

关于pycharm - 定义 'Find in Path' (PyCharm) 的默认范围,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32744812/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com