在搜索结果中显示整行 [英] Show Full Line in Search Results
问题描述
在 Visual Studio Code/vscode 中,当我搜索某些内容时,每个搜索结果中的行首可能会被截断.我如何看到被剪掉的部分?
例如,假设我搜索 'directory'
,搜索结果可能会显示:
require('../../../directory');
而实际的完整行是这样的:
var directory = require('../../../directory');
如何让 vscode 显示整行(第二个例子)?
如果之前有人问过,我找不到.如果其他人可以,请随时将此标记为重复.
参见 Visual Studio Code - 在搜索结果中包含上下文,了解有关在编辑器中显示搜索结果的预览的信息 - 包括显示整行和搜索结果周围更多上下文的功能.>
In Visual Studio Code / vscode, when I search for something, the beginning of the line in each search result may be cut off. How do I see the cut off part?
For example, say I search for 'directory'
, a search result may show this:
require('../../../directory');
while the actual, full line is this:
var directory = require('../../../directory');
How do I get vscode to display the full line (second example)?
If this has been asked before, I cannot find it. If anyone else can, feel free to mark this one as a duplicate.
See Visual Studio Code - Include context in search results for info about a preview of showing search results in an editor - which includes the ability to display the full line and more context around search results.
这篇关于在搜索结果中显示整行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!