gpt4 book ai didi

command - Sublime Text 2 - 如何使用命令托盘从打开的文件夹中打开文件?

转载 作者:行者123 更新时间:2023-12-02 04:02:08 24 4
gpt4 key购买 nike

我想使用某种模糊搜索来打开一个文件,并且我很确定我在 Sublime Text 中看到过此功能,但由于某种原因,我在任何地方都找不到任何提及此功能的信息。

我想打开命令托盘并能够在其中键入文件名,如果文件关闭,它将为我打开该文件,如果它打开,它将激活它的窗口和组。

这可能吗?

最佳答案

我看到你已经找到了 ctrl+p,但是 original announcement此功能有一些很好的使用信息,所以我想我应该发布它。

The biggest change here is that the Ctrl+P dialog has been reworked into a more general "Goto Anything" popup. From this, you can:

Type, to search through files (open files, recently closed files, and files in open folders)

@foo, to search through symbols in the current file

:foo, to go to the given line number

#foo, to do a fuzzy search in the current file for foo

These can be combined: "foo@bar" will search for the file that best matches "foo", and go to the symbol in that file that best matches "bar". "foo:100" would go to line 100 of the same file. You can use this to preview a location in another file, then hit escape to go back to where you where.

关于command - Sublime Text 2 - 如何使用命令托盘从打开的文件夹中打开文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7632549/

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