Better Looking Interfaces on Jetbrains IDE's when using WSL2
New versions of IntelliJ, WebStorm, and other Jetbrains IDEs can now run on a Wayland server when developers choose to run the IDE on WSL2. With Wayland, the annoying white window borders and blurry fonts are a thing of the past!
Open a WSL2 terminal (linux) and type:
ln -sf /mnt/wslg/runtime-dir/wayland-* $XDG_RUNTIME_DIR/
Then, open the IDE, and add this line to the custom VM Option (Help | Edit Custom VM Options):
-Dawt.toolkit.name=WLToolkit
Restart the IDE, and voilá! Please leave your comments or questions below. See you!