IntelliJ is still a little broken on wayland I think. Last I checked they were waiting on a patch to Swing, so right now it's only running under XWayland, it's fairly buggy and doesn't scale nicely. You also need to set some env variables or you'll get a blank screen. It still works pretty well though, which is better than any other similar IDE.