Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [Dltk-dev] Problem with ScriptCompletionEngine

Thnk you, Andrei 

-----Original Message-----
From: dltk-dev-bounces@xxxxxxxxxxx [mailto:dltk-dev-bounces@xxxxxxxxxxx]
On Behalf Of Andrei Sobolev
Sent: Wednesday, April 02, 2008 3:38 PM
To: DLTK Developer Discussions
Subject: Re: [Dltk-dev] Problem with ScriptCompletionEngine

Hi Mykola,

You could use NameLookup directly from project.
Code:
IScriptProject project = ...;
NameLookup lookup =
((ScriptProject)project).newNameLookup(DefaultWorkingCopyOwner.PRIMARY);

Best regards,
Andrei Sobolev.

> Hi all,
> we were using name environment to obtain nameLookup and to find the 
> script folders in our completion engine.
> *E.g.:*
> *this*.nameEnvironment.getNameLookup().findScriptFolders(....
>  
> But now Openable does not set nameEnvironment variable. Method 
> setEnvironment was removed from ICompletionEngine and this call was 
> commented out in Openable.
> How can we perform Script Folders search without nameEnvironment 
> variable set?
>  
> Thank you in advance,
> Mykola Peleshchyshyn
>  
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> dltk-dev mailing list
> dltk-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dltk-dev
>   

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top