Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Build the descriptions index differently
Build the descriptions index differently [message #987850] Wed, 28 November 2012 11:39 Go to next message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

This is somewhat of a foggy idea, but would it be possible to build the descriptions index for a code base offline and without parsing the files? We already have an index with all the visible objects and it probably is faster to use it instead of opening and parsing all source.

This would be useful for indexing libraries, where I am not interested in their internals but only the APIs.

best regards,
Vlad
Re: Build the descriptions index differently [message #988753 is a reply to message #987850] Sun, 02 December 2012 18:31 Go to previous messageGo to next message
Jan Koehnlein is currently offline Jan Koehnlein
Messages: 656
Registered: July 2009
Senior Member
I'd bind a customized IGlobalScopeProvider that loads and provides these
(fixed) IResourceDescriptions. There is an EMF implementation of the
index data model you can use to serialize.

Am 28.11.12 12:39, schrieb Vlad Dumitrescu:
> Hi!
>
> This is somewhat of a foggy idea, but would it be possible to build the
> descriptions index for a code base offline and without parsing the
> files? We already have an index with all the visible objects and it
> probably is faster to use it instead of opening and parsing all source.
>
> This would be useful for indexing libraries, where I am not interested
> in their internals but only the APIs.
>
> best regards,
> Vlad
>


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: Build the descriptions index differently [message #988758 is a reply to message #987850] Sun, 02 December 2012 20:47 Go to previous message
Vlad Dumitrescu is currently offline Vlad Dumitrescu
Messages: 318
Registered: July 2009
Location: Gothenburg
Senior Member
Thanks Jan, that makes sense.

regards,
Vlad
Previous Topic:Content is not allowed in prolog.
Next Topic:Comments missing in code makes it hard to develop
Goto Forum:
  


Current Time: Tue Sep 16 19:50:08 GMT 2014

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

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