Closed Bug 1501507 Opened 6 years ago Closed 6 years ago

Consider excluding certain directories from indexing in the generated Eclipse CDT project

Categories

(Developer Infrastructure :: Developer Environment Integration, enhancement, P3)

enhancement

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

Indexing the Eclipse CDT project that we create takes a ridiculously long. It's possible to get the indexer to ignore certain directories by opening the project properties, selecting C/C++ General > Paths and Symbols, then selecting the Source Location tab, selecting the project root ("Gecko") then adding filters there.
That phab rev excludes the following from indexing. **/lib* **/test* **/*test/ **/tests/ **/third_party/ tree/*.xcodeproj/ tree/.cargo/ tree/.vscode/ tree/build/ tree/extensions/ tree/gfx/angle/ tree/gfx/cairo/ tree/gfx/skia/skia/ tree/intl/icu/ tree/js/ tree/media/ tree/modules/freetype2 tree/modules/pdfium/ tree/netwerk/ tree/netwerk/sctp tree/netwerk/srtp tree/nsprpub/lib tree/nsprpub/pr/src tree/other-licenses/ tree/parser/ tree/python/ tree/security/nss/ tree/tools/ That reduces a full reindexing to just taking a "mere" 15 minutes on my machine, which is a big improvement.
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/9d92116a6e98 Make the Eclipse CDT project ignore some directories when indexing. r=botond
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: