在 Intellij (v 13) 中,我正在使用掩码为 '*.properties' 的项目中对 'this.is.a.fake.key' 的出现进行文件搜索 ( CTRL++ SHIFT) 。F
具体来说,我正在搜索属性键,以便可以在搜索结果中导出它们的值。搜索执行得很好,但问题是如果返回的行长度大于 200 个字符,则在查找工具窗口中返回的结果会被截断。
如何配置查找工具窗口以将此默认设置更改为 400 个字符,因为我需要整行文本才能获得匹配的结果。这是导出搜索的示例:
Targets
Occurrences of 'this.is.a.fake.key' in Module 'proj' with mask '*.properties'
Found Occurrences (2 usages found)
Unclassified occurrence (2 usages found)
proj (2 usages found)
(2 usages found)
simple_resource_bundle.properties (2 usages found)
(1405: 1) this.is.a.fake.key.with.less.than.two.hundred.characters=All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.
(1406: 1) this.is.a.fake.key
以下是属性文件包含的内容:
this.is.a.fake.key.with.less.than.two.hundred.characters=All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.
this.is.a.fake.key.with.more.than.two.hundred.characters=All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy. All work and no play makes Jack a dull boy.