Stack Analyzer extension

Is there an example anywhere of how to write a plugin to extend the
Stack Analyzer so that it can decode a different format stack? One of
our libraries insists on "prettying" up it's stacks and it means that
they need reformatting before IntelliJ can easily use them. I'd love to
fix this but don't really know what to extend in IntelliJ to get started.

I saw the zkm.jar in the plugins and this obviously does something
similar, but it doesn't come with source.

Any suggestions?

Thanks - Guy

--
-- Guy Gascoigne-Piggford
www.wyrdrune.com
]]>



0
4 comments
Avatar
Permanently deleted user

something like this

0

Thanks, I'll go give that a go.

Guy

maas wrote:

something like this

 package test;
> 
> import com.intellij.openapi.components.ApplicationComponent;
> import com.intellij.openapi.project.Project;
> import com.intellij.unscramble.UnscrambleSupport;
> import org.jetbrains.annotations.NonNls;
> import org.jetbrains.annotations.NotNull;
> 
> public class Analyze implements UnscrambleSupport, ApplicationComponent {
>   public String unscramble(Project project, String text, String logName) {
>     // dummy implementation... uppercases input
>     return text != null ? text.toUpperCase() : null;
>   }
> 
>   public String getPresentableName() {
>     return "Test";
>   }
> 
>   @NonNls
>   @NotNull
>   public String getComponentName() {
>     return Analyze.class.getName();
>   }
> 
>   public void initComponent() {
>   }
> 
>   public void disposeComponent() {
>   }
> }
> ]]>


--
-- Guy Gascoigne-Piggford
www.wyrdrune.com
]]>


0
Avatar
Permanently deleted user

Hello Guy Gascoigne-Piggford,

G> Is there an example anywhere of how to write a plugin to extend the
G> Stack Analyzer so that it can decode a different format stack? One
G> of our libraries insists on "prettying" up it's stacks and it means
G> that they need reformatting before IntelliJ can easily use them. I'd
G> love to fix this but don't really know what to extend in IntelliJ to
G> get started.
G>
G> I saw the zkm.jar in the plugins and this obviously does something
G> similar, but it doesn't come with source.

It does. The source for the zkm plugin, as well as a number of other plugins,
is included in the Plugin Development Package which you can download from
our Web site (http://www.jetbrains.com/idea/plugins/plugin_developers.html)
or from the EAP download page (http://www.intellij.net/eap).

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Very nice, thanks.

Guy

Dmitry Jemerov wrote:

Hello Guy Gascoigne-Piggford,

G> Is there an example anywhere of how to write a plugin to extend the
G> Stack Analyzer so that it can decode a different format stack? One
G> of our libraries insists on "prettying" up it's stacks and it means
G> that they need reformatting before IntelliJ can easily use them. I'd
G> love to fix this but don't really know what to extend in IntelliJ to
G> get started.
G> G> I saw the zkm.jar in the plugins and this obviously does something
G> similar, but it doesn't come with source.

It does. The source for the zkm plugin, as well as a number of other
plugins, is included in the Plugin Development Package which you can
download from our Web site
(http://www.jetbrains.com/idea/plugins/plugin_developers.html) or from
the EAP download page (http://www.intellij.net/eap).


--
-- Guy Gascoigne-Piggford
www.wyrdrune.com
]]>


0

Please sign in to leave a comment.