Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Exclude files from indexing
Exclude files from indexing [message #959117] Fri, 26 October 2012 13:18 Go to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

If I have files that are not in the "src" directory, I don't want them to get indexed by the Xtext engine. Is there a way to ensure that?

I know I can hide them in the indexes, but in some cases these files are huge and irrelevant.

best regards,
Vlad
Re: Exclude files from indexing [message #960504 is a reply to message #959117] Sat, 27 October 2012 14:46 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Am 26.10.12 15:18, schrieb Vlad Dumitrescu:
> Hi!
>
> If I have files that are not in the "src" directory, I don't want them
> to get indexed by the Xtext engine. Is there a way to ensure that?
>
> I know I can hide them in the indexes, but in some cases these files are
> huge and irrelevant.
>
> best regards,
> Vlad
>

Have a look at the method IResourceUIServiceProvider#canHandle(URI,
IStorage)

Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: Exclude files from indexing [message #960507 is a reply to message #960504] Sat, 27 October 2012 14:52 Go to previous messageGo to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Thank you, Christian!
Re: Exclude files from indexing [message #961828 is a reply to message #960507] Sun, 28 October 2012 16:34 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Am 27.10.12 16:52, schrieb Vlad Dumitrescu:
> Thank you, Christian!
>

In some rare cases it's Sebastian ;-)
Re: Exclude files from indexing [message #972175 is a reply to message #961828] Mon, 05 November 2012 12:16 Go to previous message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
I'm sorry about the confusion, Sebastian -- thanks a lot!
/Vlad
Previous Topic:narrow cross references
Next Topic:Generating Static Objects
Goto Forum:
  


Current Time: Fri Mar 29 13:33:00 GMT 2024

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

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

Back to the top