intellij-ideasearch

How to search Chinese characters in IntelliJ IDEA?


Just search Chinese characters in IntelliJ IDEA, because I'd like to replace it with English characters in short time. Is there a quick way to do this?


Solution

    1. Open global search dialog
      Ctrl + Shift + F(Windows)
      Command + Shift + F(MAC)

    2. Type Regular Expressions and click the .* button
      [\u4e00-\u9fa5]

    3. Search success!(Like the following picture)
      search dialog