On Thu, Apr 20, 2006 at 06:52:44PM -0700, Eric Van wrote: > My code completion function returns a list with the following entries: > kind: 'f', word: 'toCharArray', menu: 'toCharArray() char[] - String' > kind: 'f', word: 'toString', menu: 'toString() String - String' > kind: 'f', word: 'toUpperCase', menu: 'toUpperCase() String - String' > kind: 'f', word: 'toUpperCase', menu: 'toUpperCase(Locale locale) > String - String' > kind: 'f', word: 'toLowerCase', menu: 'toLowerCase() String - String' > kind: 'f', word: 'toLowerCase', menu: 'toLowerCase(Locale locale) > String - String'
<snip> > So I suggest either removing duplicate checking when results are in > the dictionary format, or at the very least, check the 'menu' > attribute along with the 'word' attribute to determine if an entry is > a duplicate, however that may or may not work for everyone. > > Thoughts? Comments? Yes, use the 'info' field for further information on a single 'word'. In your case you should write all different functions signatures in the 'info' field of just one 'word'. kind: 'f', word: 'toString', menu: 'toString() String - String', info: 'String toString()' kind: 'f', word: 'toUpperCase', menu: 'toUpperCase() String - String' info: 'String toUpperCase()\n String toUpperCase(Locale locale)' ... BTW: how complete is your java support? Does it work good enough for a public release, or is it for your own usage only? -- Martin