Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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
>   



Back to the top