Hi Tom, thanks. But it does not edit the class file with correct path name 
which is zipfile:/path_jarfile::classfile. But even I used fully path name as 
above for :e. It still did not invoke the decompiler. Just like I pressed enter 
without entering :e command. 


----- Original Message -----
From: Tom Purl <[EMAIL PROTECTED]>
Date: Monday, July 10, 2006 9:34 pm
Subject: Re: How to vim a class file in a jar file with the java decompiler 
executed?

> On Mon, Jul 10, 2006 at 09:01:04PM -0600, ERIC HO wrote:
> > Hi there, in tip 1259, I can edit a java jar file by putting the 
> jar.vim in ftdectect directory:
> > au BufReadCmd   *.jar,*.war,*.ear,*.sar,*.rar        call 
> zip#Browse(expand("<amatch>")) 
> > That's good. But is there a way that when I select a class file 
> from a jar file, it will execute the java decompiler like jad? 
> When I vim a class file by itself, it executes the decompiler and 
> gives me the souce code for the class file. Thanks!
> > 
> One possibility is to place your cursor over the .class file that you
> want to open and then execute the following command:
> 
> :e <cfile>
> 
> Hope that helps!
> 
> Tom Purl
> 

Reply via email to