Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] DLTK Python

Hi Lothar,

It exists in the ScriptCompletionProposalComputer.computeScriptCompletionProposals() method at the following code:

ScriptCompletionProposalCollector collector = createCollector(context);
if (collector == null) {
	return Collections.EMPTY_LIST;
}

Regards,
Alex

----- Original Message -----
From: "Lothar Werzinger" <lothar@xxxxxxxxxxxxxx>
To: dltk-dev@xxxxxxxxxxx
Sent: Thursday, April 2, 2009 2:54:59 AM GMT +06:00 Almaty, Novosibirsk
Subject: Re: [Dltk-dev] DLTK Python

On Wednesday 01 April 2009, Michael Spector wrote:
> Hi Lothar,
> As for Python code completion, it's not implemented on the DLTK
> side... There should be a ScriptCompletionEngine implementation. I
> think it's a matter of 1 week to provide such an engine for Python. I
> suggest you to look at the RubyCompletionEngine or
> JavaScriptCompletionEngine, Python's completion engine should be
> pretty much similar to those. And, of course, we'll appreciate if one
> contribute it back to the Eclipse community .

I created an empty (only prints to System.out) ScriptCompletionEngine and 
added it to the extension point: 

<extension
         point="org.eclipse.dltk.core.completionEngine">
      <completionEngine
            
class="org.eclipse.dltk.python.internal.core.codeassist.PythonCompletionEngine"
            nature="org.eclipse.dltk.python.core.nature"
            priority="0">
      </completionEngine>
   </extension>

but it seems not to be instantiated or called at all. Did I miss something?

Lothar
-- 
Lothar Werzinger Dipl.-Ing. Univ.
Director of Technology
Tradescape Inc. - Enabling Efficient Digital Marketplaces
1754 Technology Drive, Suite 128
San Jose, CA 95110
web: http://www.tradescape.biz
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top