Inspectopedia Help

Hyphen can be replaced with dash

Hyphen can be replaced with dash

The "n dash" (u2013, –) and the "m dash" (u2014, —) characters are used for ranges (n dash) and breaks (m dash). Using these instead of plain hyphens can make text easier to read and your application will look more polished.

Issue id: TypographyDashes

https://en.wikipedia.org/wiki/Dash

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023