为 'Find in Path' (PyCharm) 定义默认范围
Defining default scope for 'Find in Path' (PyCharm)
我正在使用 PyCharm Community Edition 4.0.4,我想为 'Find in Path' 的范围设置一个默认选项。
目前,按 Ctrl-Shift-F('Find in Path' 命令)会弹出 window 并选择 'All projects',我希望 'Directory' 具有改为将自定义目录设置为默认目录。这是一张照片:
我在“设置”中搜索了类似的内容,但找不到。感谢任何帮助。
更新:我最近发现,通过右键单击我的项目文件夹并选择 "Find in Path ..."(我的意思是实际上 单击选项),范围自动设置为工程目录!奇怪的是,右键单击项目文件夹的下拉菜单中指示的键盘快捷键与我使用的完全相同。但是,使用快捷方式会产生范围的 'All projects' 选择...
无论如何,我仍然希望为“在路径中查找”对话框设置一个默认目录 - 最好是一个始终使用的目录,无论对话框是如何调用的(快捷方式,单击下拉选项)。
这似乎是类似 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."
我在下面复制了问题的文本,以防 link 失效:
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 Community Edition 4.0.4,我想为 'Find in Path' 的范围设置一个默认选项。
目前,按 Ctrl-Shift-F('Find in Path' 命令)会弹出 window 并选择 'All projects',我希望 'Directory' 具有改为将自定义目录设置为默认目录。这是一张照片:
我在“设置”中搜索了类似的内容,但找不到。感谢任何帮助。
更新:我最近发现,通过右键单击我的项目文件夹并选择 "Find in Path ..."(我的意思是实际上 单击选项),范围自动设置为工程目录!奇怪的是,右键单击项目文件夹的下拉菜单中指示的键盘快捷键与我使用的完全相同。但是,使用快捷方式会产生范围的 'All projects' 选择...
无论如何,我仍然希望为“在路径中查找”对话框设置一个默认目录 - 最好是一个始终使用的目录,无论对话框是如何调用的(快捷方式,单击下拉选项)。
这似乎是类似 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."
我在下面复制了问题的文本,以防 link 失效:
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?