зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1549206. Fix the Eclipse CDT index deletion glob pattern to only match the project name. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D30281 --HG-- extra : rebase_source : 8b7f18d872e7fd0728a469397b133830de949d2b extra : amend_source : 754e23d04c1a729e6b3312eb0818c7144cd803d4
This commit is contained in:
Родитель
d9d54a06b9
Коммит
05e535ab68
|
@ -212,10 +212,10 @@ class CppEclipseBackend(CommonBackend):
|
|||
|
||||
def _remove_noindex(self):
|
||||
# Below we remove the config file that temporarily disabled the indexer
|
||||
# while we were importing the project. Unfornutanely, CDT doesn't
|
||||
# while we were importing the project. Unfortunately, CDT doesn't
|
||||
# notice indexer settings changes in config files when it restarts. To
|
||||
# work around that we remove the index database here to force it to:
|
||||
for f in glob.glob(os.path.join(self._workspace_lang_dir, "*.pdom")):
|
||||
for f in glob.glob(os.path.join(self._workspace_lang_dir, "Gecko.*.pdom")):
|
||||
os.remove(f)
|
||||
|
||||
noindex_path = os.path.join(self._project_dir, '.settings/org.eclipse.cdt.core.prefs')
|
||||
|
|
Загрузка…
Ссылка в новой задаче