Open Source & Free  



Header Image

I’m used to NetBeans but if I will ever switch it will be to IntelliJ/IDEA. It’s a great IDE. I just need to rewire the muscle memory of my fingers for it. The Codename One plugin support on IntelliJ should be as good as the NetBeans support as the code is very similar. There are however a couple of pitfalls that a lot of people trip over which I’d like to discuss.

Tree Mode

IntelliJ defaults to showing errors as a “tree”. It parses the output of the app to the console and shows “pretty” output. Unfortunately this doesn’t always play nice with Codename One and hides things like compiler errors.

We strongly recommend you disable that setting…​

Toggling off the Tree Mode
Figure 1. Toggling off the Tree Mode

Out of Memory in Ant Build

When you start working and your code grows (especially with Kotlin) you might run into an out of memory error during compilation. You can resolve that by setting the memory available to Ant as explained in this image.

Configuring the Memory Available to Ant
Figure 2. Configuring the Memory Available to Ant

1 Comment

Leave a Reply