Method Name completion features

"Nehal Patel" <[email protected]>
Newsgroups gmane.comp.java.beanshell.devel,gmane.comp.java.beanshell.user
Message-ID <[email protected]>
Hello,

 

I am interested in using the bsh for rapid prototyping with  my existing
java code base.  I want to extend the functionality of the  bsh.Console
to  name-complete method names and to popup method lists and argument
lists when "." and "(" are typed (as in jbuilder, netbeans, etc).  

 

++Does anyone  know if there are already more advanced replacements for
of the BeanShell.Console that allow for interactive running of bsh but
also advanced name completion?  For instance it looks like jEdit uses
bsh for implementing plugins but can one use jEdit for running bsh in
interactive mode?

 

++I looked at the sources for a few minutes but it wasn't clear exactly
where the "TAB" key was being caught to implement name completion
currently.  (The NameCompletionTable, etc. seem pretty clear - it just
isn't clear how someone would modify bsh.Console to do something special
when "Ctrl-Spacebar" is hit for instance.)

 

Thanks, nehal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.