What IdeaJad trying to accomplish within Intellij ?? Design flaw ???

Hi, it really baffled me what IdeaJad trying to do... after I install this plug-in, I thought that its main purpose is that it allow to decompile 3rd party class library and browse the code in real time using Intellij's navigation features, and therefore it should by default to decompile itself in other directory other than the project source directory since the decompiled usually is not compilable but good for viewing .... but I surprise that its setting takes on the project source setting (and i can't really change it since it take the setting from intellij) !!! which mean that it make my project incompilable at all due to decompiled class error (anyway who really care about 3rd party decompile code ??) If anyone use jad within Jbuilder, perhaps someone will know what i talking about... I have attached the picture of intellij setting ...

thank

This is quite weird and unusable in practice... what ideajad needed is provide a setting where user can specify a directory for decompilation files that the project will not compile at all.... and has a ability to suppress any error instead of showing popup which i have to pressed ok constantly to access decompiled java file.

I believe that though IdeaJad is useful but it let down by its usability ....

Maybe there is some settings that might solve the issue that i not aware of ... if so, do let me know and hope anyone could share the solution....

otherwise, it is frustrating to use ....

thank



Attachment(s):
designissue.JPG
6 comments

Yes, this is really annoying. As for me, probably there should be
options that allows the user to specify that source file should not be
specified at all and IDEA will show decompiled source file instead of
class file with stubs it shows currently.

I did such a thing in JBuilder plug-in (JadClassFileNode) but
unfortunately has not time to view whether it's possible to support
such functionality under IDEA.

Regards,
Andrew Sazonov

0

I create a separate java module for use with jad and use the source
directory for that. That also avoids the annoying source code control "add"
dialog when jad creates a java file.

"Andrew Sazonov" <sand72@mail.ru> wrote in message
news:dt7cj3$c9a$1@is.intellij.net...

Yes, this is really annoying. As for me, probably there should be options
that allows the user to specify that source file should not be specified
at all and IDEA will show decompiled source file instead of class file
with stubs it shows currently.

>

I did such a thing in JBuilder plug-in (JadClassFileNode) but
unfortunately has not time to view whether it's possible to support such
functionality under IDEA.

>

Regards,
Andrew Sazonov



0

Hi Brad, thank for the solution....

unfortunately, having to do that imply that i need to open another intellij instance ... something i not comfortable with especially even with 1 gb ram.... i have tomcat , jboss running in background and everything seem tight on memory ... moreover, intellij does consume much more memory than previous edition ......

I guess the best solution is make ideajad source code available and hopefully i and others could fix it .... but it seem nowhere to be found ...

That's a pity... most useful plug-in die a tragic death because the original developer no longer in interested in developing something that is free and useful .... most probably they feel they are not appreciated all..... if so, Intellij forum could encourage a community and reward the community that help build plug-in and open-source... afterall, the future of intellij is really in plug-in .... because it is that plug-in that fuse the idea and innovation in Intellij...

I guess no matter how talented those staff at Intellij, they can only innovate so much on their own... but if they gel with plug-in developer, they will have a winner ....

In fact, if there is a really useful feature, it is the Close All Process features.... there should be a way to close all process running in intellij at once for running java program, but i seem none ....

thank

0

+ Yes, this is really annoying. As for me, probably there should be
options that allows the user to specify that source file should not be
specified at all and IDEA will show decompiled source file instead of
class file with stubs it shows currently.+

Sadly, this isn't available. If it was possible to plugin an alternate decompiler, I'd have done it long ago, if only to get rid of those atrocious fully-qualified names in the decompiled stubs.

--Dave Griffith

0

No, you don't need to open another IDEA instance. Just create a java module
strictly for decompiled source and add it to the project you're currently
working on and any future projects.

"matthewarena" <no_mail@jetbrains.com> wrote in message
news:27115195.1140287670809.JavaMail.javamailuser@localhost...

Hi Brad, thank for the solution....

>

unfortunately, having to do that imply that i need to open another
intellij instance ... something i not comfortable with especially even
with 1 gb ram.... i have tomcat , jboss running in background and
everything seem tight on memory ... moreover, intellij does consume much
more memory than previous edition ......

>

I guess the best solution is make ideajad source code available and
hopefully i and others could fix it .... but it seem nowhere to be found
...

>

That's a pity... most useful plug-in die a tragic death because the
original developer no longer in interested in developing something that is
free and useful .... most probably they feel they are not appreciated
all..... if so, Intellij forum could encourage a community and reward the
community that help build plug-in and open-source... afterall, the future
of intellij is really in plug-in .... because it is that plug-in that fuse
the idea and innovation in Intellij...

>

I guess no matter how talented those staff at Intellij, they can only
innovate so much on their own... but if they gel with plug-in developer,
they will have a winner ....

>

In fact, if there is a really useful feature, it is the Close All Process
features.... there should be a way to close all process running in
intellij at once for running java program, but i seem none ....

>

thank



0

Brad L wrote:

No, you don't need to open another IDEA instance. Just create a java module
strictly for decompiled source and add it to the project you're currently
working on and any future projects.


Few more tips:

- Add the module content root to the folders ignored by the compiler (
>> Settings > Project > Compiler Options).

- Make the module to depend on all other modules and all possible
libraries. This way you'll be able to browse the decompield code without
having everything red.

cheers,
Dimitar

0

Please sign in to leave a comment.