From: Jim B. <jf_...@co...> - 2014-02-21 20:47:57
|
On 02/21/2014 02:16 PM, Robert Schwenn wrote: > For me, when my active buffer has a .bsh extension and jedit is in beanshell > edit mode, > the java parseronly lists importstatements. But CtagsSideKick is very > informative. Even the following statement > > / private void addErrorToList(View view, String Type, String File, int Line, > int StartColumn, int EndColumn, String Message, String ExtraLines) {// > / > is listed as a *meth**od.*I'm not using any java or beanshell custom config for > ctags. I'm on Windows and "ctags --version" output is: > > /Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert// > // Compiled: Jul 9 2009, 17:05:35// > // Addresses: <dhi...@us...>, http://ctags.sourceforge.net// > // Optional compiled features: +win32, +regex, +internal-sort// > / > Robert I'm on Ubuntu and mine is: Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert Compiled: Nov 9 2011, 17:42:21 Addresses: <dhi...@us...>, http://ctags.sourceforge.net Optional compiled features: +wildcards, +regex Looks like I have some digging to do as mine behaves as I outlined below. I was hoping to find the regex it was using to parse the .bsh files so maybe I could modify it. Thanks, Jim >> I am trying to get CtagsSideKick to do a better job of parsing beanshell >> files. Both the ctags and the default parser will recognize a function >> with no parameters as a function ie myFunc(){}. >> >> If the function has parameters ie myFunc(a){} neither of them seems to >> recognize it as function. As a test I gave the file an extension of >> ..java and ctags did a much better job of recognizing them. >> >> I looked for a config file but could not find any, or are they in a jar? >> >> Thamks, Jim >> >> >> ------------------------------------------------------------------------------ >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > > > |