我想打开命令托盘并且能够在那里键入一个文件名,如果文件很近,它会打开我的文件,如果它是打开的,它将激活它的窗口和组。
这可能吗?
解决方法 我看到你已经找到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.
以上是内存溢出为你收集整理的Sublime Text 2 – 如何使用命令托盘从打开的文件夹打开文件?全部内容,希望文章能够帮你解决Sublime Text 2 – 如何使用命令托盘从打开的文件夹打开文件?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)