2014-07-16 33 views
0

在的IntelliJ(13節),我在做一個文件搜索(CTRL + SHIFT +˚F)爲「this.is.a.fake的出現.key'在項目中使用掩碼'* .properties'。IntelliJ IDEA的查找工具Winow最大列長度覆蓋

具體來說,我正在搜索屬性鍵,以便我可以在搜索結果中派生它們的值。搜索執行得很好,但問題是如果返回的行長度超過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. 
+0

你是什麼意思,「在我的搜索結果中獲得自己的價值」?爲什麼結果被截斷爲200個字符? –

+0

我需要鍵值,在結果中,所以我可以導出它。這很重要,因爲如果值被截斷,我無法導出它。 – denlab

+0

鑑於文件和行號,您可以使用解析保存的搜索結果的腳本從文件中提取實際行。 –

回答