2017.2 EAP and getFont*() methods in UI forms generated as source

All of the UI forms in my custom plugin are generated as source in part because otherwise things don't work properly with my obfuscator.  Anyway, I try to develop the plugin against the latest-and-greatest EAP plugin SDK while doing release builds against released SDKs.  All of the 2017.2 EAP builds have been generating a bunch of getFont<randomNumberHere>() methods into my form source files, and unfortunately the numbers change each time they're generated meaning that I have a ton of noise against my version control system.  Is this going to be resolved before the release of 2017.2?  It seems kind of hostile to plugin developers who must use have UI forms generated as source.

0
9 comments

Responsible developer has fixed the problem, will be available in the next EAP.

1

Great.  Thanks, Serge!

0

Hi Serge

 

The following method was not being generated in the earlier version (even until 172.1.5). Now it has suddenly started being generated since 172.2

Is there a reason for that? 

Some of our developers are on differnet version of IJ17. So if we check these changes in, all of them will need to upgrade to the same version. 

Is there a reason to have this method generated? Is there anything we can do to not have this method generated?

$$$getFont$$$ 
0

Yes, it's only in the most recent build that it doesn't end up polluting my code randomly.  It does seem to emit stable code now.  Thanks so much for following up!

0

The method name is stable now.. but the location of the code is not.. 

Every time a change is made to the file, the getFont() method moves its position. It is very frustrating for the developers in the team to revert these changes again and again

We are on IntelliJ IDEA Community Edition IC-172.3544.35

0

Hi Serge Baranov

Should I create a ticket for this issue?

 

0

Please sign in to leave a comment.