在Intellij(第13节)中,我正在进行文件搜索( CTRL + SHIFT + F ) ' this.is.a.fake.key'在项目中使用蒙版' *。属性'。
具体来说,我正在搜索属性键,以便我可以在搜索结果中派生它们的值。搜索执行正常,但问题是如果返回的行长度超过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.