Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Build the descriptions index differently
Build the descriptions index differently [message #987850] Wed, 28 November 2012 06:39 Go to next message
Eclipse UserFriend
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 13:31 Go to previous messageGo to next message
Eclipse UserFriend
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 15:47 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 15:36:58 EDT 2025

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

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

Back to the top