Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368989 - Indexer should not start after refreshing workspace if "Automatically update the index" is off
Summary: Indexer should not start after refreshing workspace if "Automatically update ...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 8.1.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 8.1.0   Edit
Assignee: Markus Schorn CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 11:31 EST by Jonathan Watt CLA
Modified: 2013-02-27 11:38 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Watt CLA 2012-01-18 11:31:55 EST
In "C/C++ > Indexer" I've disabled "Automatically update the index". Unfortunately, when I create a new project for existing code and select the source directory, Eclipse refreshes the workspace. That's not a problem in and of itself, but I really, really don't want the indexing to start after it's finished that because the indexer generally takes 20 minutes and causes Eclipse to hang for minutes at a time, and the project hasn't yet been configured so that the indexer can produce useful results in any case.

As well as being annoying for me, this issue unfortunately complicates the wiki document I'm writing on setting up Eclipse for use with the Mozilla source. It's necessary to add instructions on finding and opening the Progress tab, cancelling the Refresh step, and to add text to explain that this is because the indexer will start even though the wiki page previously instructed them to turn off "Automatically update the index".
Comment 1 Markus Schorn CLA 2012-04-04 09:41:16 EDT
Thanks, the initial rebuild of the index will no longer be done, when automatic update is deselected.
Comment 2 CDT Genie CLA 2013-02-27 11:38:55 EST
*** cdt git genie on behalf of Markus Schorn ***

    Bug 368989: Supress initial index rebuild when automatic updates are turned off.

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=ee20d322decea0ad74e962117f37f85b6189e8f5