Make Intellij Render on a Dell XPS 15 4k Display

Edit this file:

vi ~/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/182.5107.16.vmoptions

Add this line:

-Dide.ui.scale=2.0

Then, set the type size to “28” in “Appearance and Behavior” -> “Appearance”, “Override default fonts by (not recommended)”.