VS Code 查找结果面板 [英] VS Code find result panel
问题描述
有没有办法将搜索结果 (Ctrl+Shift+F) 打印到水平面板?
Is there any way to print search results (Ctrl+Shift+F) to horizontal panel?
当前的垂直视图对我来说真的很不方便,因为我只能看到线条的一小部分.谢谢
Current vertical view is really inconvenient for me as I see only small part of line. Thanks
推荐答案
更新:参见 Visual Studio 代码 - 如何复制搜索结果? 新的搜索编辑器使查看和复制结果更加用户友好.
Update: see Visual studio code - how to copy search results? The new search editor makes seeing and copying the results much more user-friendly.
现在您只需将搜索视图拖到面板中即可.
And now you can just drag the Search view into the Panel.
v1.21 帮助解决了这个问题.请参阅横向面板搜索
v1.21 has helped this problem. See Horizontal panel search
//预览:控制搜索是否显示为视图中的视图侧边栏或作为面板区域中的面板以获得更多水平空间.面板中的下一个版本搜索将改进水平布局和这将不再是预览.
// Preview: controls if the search will be shown as a view in the sidebar or as a panel in the panel area for more horizontal space. Next release search in panel will have improved horizontal layout and this will no longer be a preview.
"search.location": "panel",
我认为您还不能打印这些结果,但至少视图得到了很大改善.我不认为你的意思实际上是打印"但无论如何...
I don't think you can print those results yet but at least the view is much improved. I don't think you meant actually "print" but nevertheless...
在原始答案之后添加的功能:::
Functionality added after the original answer:::
您现在可以右键单击
搜索结果中的任意位置并选择复制全部
";将所有搜索结果放入剪贴板.该上下文菜单还有一些其他选项.
You can now right-click
anywhere in the search results and select "Copy All
" to get all the search results into the clipboard. That context menu has some other options as well.
这篇关于VS Code 查找结果面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!