Return on AutoComplete

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Return on AutoComplete

Re: Return on AutoComplete

Post by robert » Thu Sep 06, 2012 1:23 pm

You should take a look at ParameterizedCompletions, they do what you want. For an example implementation of Java code completion, check out the JavaLanguageSupport in the RSTALanguageSupport library (currently no downloadable package, you must grab it from the SVN repository). You can also read about it in the blog here.

Return on AutoComplete

Post by Arild » Fri Aug 31, 2012 2:42 pm

I've just managed to get out all vital information (functions and returntypes, and comments (javadoc) from the openjdk-6 sources.
They are now all displaying using classes in package org.fife.ui.autocomplete.
I just wonder about how to return the function with their paramaters when user selects a function (or field) on the AutoComplete Listbox?
I mean... i don't want the function (as described in Listbox (with it's returntype at the end) but the function in how it is coded with,
hopefully with the cursor placed at the first in-parameter?

It's maybe easyer than i think?

Thanks in advance.
Arild

Top