为什么 IntelliJ 在单击时将一些数字显示为灰色,中间带有下划线 "fix it"?

Why does IntelliJ show some numbers in gray with underscores in the middle just to "fix it" when clicked?

这是一个用 Postgresql 方言打开的 .sql 文件,它以灰色 200_000 显示数字 200000。

单击它后,它通过将其变为 200000 来“修复它”...

图像的顶部显示了 NP++ 中的相同文件,

确实没有下划线开头...

那这到底是干嘛的?

这是为了让大数字更容易阅读。您可以在 SQL header 下的 Preferences | Editor | General | Code Folding 中使用名为 Put underscores in numeric numerals (6-digit or longer) 的选项禁用它。在 IntelliJ IDEA 和相关 IDE 的 2021.1 版本中,此选项将是 disabled by default