Problems with alien .form files (and a work-around :-)
We have source trees with *.form *files made by some other IDE. Since IDEA-823 I could not build these trees anymore because it was trying to parse them as IDEA .form files, which fails.
I found a *work-around *(thought the list might like it):
- Goto "IDE Settings - File Types"
- Look for the "UI Designer form" entry
- Add an extension "form-ij"
- Remove the "form" extension.
This will solve the build problems. I can not get the form designer to work so I do not know if it has any impact there.
Regards,
Tom Brus
请先登录再写评论。
Tom Brus wrote:
I also had netbeans form files in an old sourcetree of mine and idea
could not build it any more
Please file an SCR as I think this is a real problem that must be fixed ....
Edo
Edoardo Comar wrote:
>> We have source trees with *.form *files made by +some other
>> IDE+. Since IDEA-823 I could not build these trees anymore because
>> it was trying to parse them as IDEA .form files, which fails.
>>
>> I found a *work-around *(thought the list might like it):
>> - Goto "IDE Settings - File Types"
>> - Look for the "UI Designer form" entry
>> - Add an extension "form-ij"
>> - Remove the "form" extension.
>>
>> This will solve the build problems. I can not get the form designer to
>> work so I do not know if it has any impact there.
Eugene Zhuravlev says this problem has already been fixed and will be
available in the next build.
http://www.intellij.net/forums/thread.jsp?forum=22&thread=32923#503271
Regards,
Bas Leijdekkers
I guess the good practice for any file type except plain txt files, is to
always create some type of header with file type and version number.
Especially if it is not an in-house project.
"Edoardo Comar" <e.comar.no.spam@no.spam.btinternet.com> wrote in message
news:bcs8cb$8d8$1@is.intellij.net...
....