Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Using ScriptEditor without Eclipse project
Using ScriptEditor without Eclipse project [message #33303] Thu, 09 October 2008 11:11 Go to next message
Eclipse UserFriend
I'm about to develop a XQuery editor based on the DLTK.

If I open my editor with a document from an Eclipse project, the according
parser is applied as expected.
Besides that I've got an Eclipse plugin that is able to connect to an XML
database. Within that database you're able to store XQuery files. I'd like
to open those XQuery files in my editor as well. But because those files
are not part of an Eclipse project, the parser is not addressed. If for
example the folding functionality is activated, a NullPointerException is
thrown.

Now my question: Is there a way to use the functions of the ScriptEditor
without an Eclipse project?

Thanks
Pascal
Re: Using ScriptEditor without Eclipse project [message #33460 is a reply to message #33303] Thu, 16 October 2008 08:01 Go to previous message
Eclipse UserFriend
Hi Pascal,

Would you please provide more details?
How do you open the editor with the files from database?
What version of DLTK do you use?
What is the stack trace of the exception?

For example I can open tcl files located outside of my workspace - in
that case org.eclipse.ui.ide.FileStoreEditorInput is provided to the tcl
editor. So it looks like eclipse project is not required.

I have tested with 1.0 from HEAD.

Regards,
Alex


Pascal Schmidiger wrote:
> I'm about to develop a XQuery editor based on the DLTK.
>
> If I open my editor with a document from an Eclipse project, the
> according parser is applied as expected.
> Besides that I've got an Eclipse plugin that is able to connect to an
> XML database. Within that database you're able to store XQuery files.
> I'd like to open those XQuery files in my editor as well. But because
> those files are not part of an Eclipse project, the parser is not
> addressed. If for example the folding functionality is activated, a
> NullPointerException is thrown.
>
> Now my question: Is there a way to use the functions of the ScriptEditor
> without an Eclipse project?
>
> Thanks
> Pascal
>
Previous Topic:[BUILD] R1.0-I
Next Topic:problemreporter bug in 0.95.1 released version
Goto Forum:
  


Current Time: Sun May 25 13:16:21 EDT 2025

Powered by FUDForum. Page generated in 0.03004 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top