Closed Bug 1501507 Opened 3 years ago Closed 3 years ago
Consider excluding certain directories from indexing in the generated Eclipse CDT project
46 bytes, text/x-phabricator-request
|Details | Review|
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 email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9d92116a6e98 Make the Eclipse CDT project ignore some directories when indexing. r=botond
You need to log in before you can comment on or make changes to this bug.