1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

⚠️Non-ASCII characters に静かになってもらう方法

Last updated at Posted at 2024-02-24

OS: macOS
IDE: IntelliJ IDEA (Ultimate Edition)


発生状況

Kotlinで実装を書く前にテストを書いていたときのことです。

Problems > File を見ると

⚠️Non-ASCII characters
⚠️Non-ASCII symbols in ASCII word
⚠️Non-ASCII characters
⚠️Non-ASCII symbols in ASCII word
⚠️Non-ASCII characters
⚠️Non-ASCII symbols in ASCII word
⚠️Non-ASCII characters
⚠️Non-ASCII symbols in ASCII word
⚠️Non-ASCII characters
⚠️Non-ASCII symbols in ASCII word
⚠️Non-ASCII characters
⚠️Non-ASCII symbols in ASCII word


同じ警告多すぎん??

発生要因

Kotlinで書いていたテストのタイトルに、日本語を使っていたことに起因していました。

え・・・。日本人だもん。。。

解決方法

解決方法として、テストのタイトルを英語で書くって方法もあるのだが・・・
今すぐ対応するのは私のスペック上しんどいので・・・。

⚠️Non-ASCII characters にカーソルを合わせて、右クリック。
Show Quick-Fixes > Inspection 'Non-ASCII characters' options > Edit inspection profile setting

Non-ASCII-characters.png

Non-ASCII characters のチェックを外し、OK

uncheck-Non-ASCII-characters.png

no-problems.png

お〜。静かになった🙌
settings からたどっても設定はできるんだけど、探すの大変だったからこっちのがおすすめです。

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?