Still trying to get intellisense to work

This commit is contained in:
2025-06-18 16:25:46 -04:00
parent be45f55222
commit 761344bbd5
11 changed files with 33 additions and 7 deletions

View File

@@ -275,11 +275,11 @@ def build_intellisense_database_for_clangd(force):
error = e
else:
error = None
finally:
tarfile.open(f"{INTEGRATION}/rsp_files.tgz").extractall(path=f"{INTEGRATION}/Intermediate")
tarfile.open(f"{UNREALENGINE}/rsp_files.tgz").extractall(path=f"{UNREALENGINE}/Engine")
Path(f"{INTEGRATION}/rsp_files.tgz").unlink()
Path(f"{UNREALENGINE}/rsp_files.tgz").unlink()
# finally:
# tarfile.open(f"{INTEGRATION}/rsp_files.tgz").extractall(path=f"{INTEGRATION}/Intermediate")
# tarfile.open(f"{UNREALENGINE}/rsp_files.tgz").extractall(path=f"{UNREALENGINE}/Engine")
# Path(f"{INTEGRATION}/rsp_files.tgz").unlink()
# Path(f"{UNREALENGINE}/rsp_files.tgz").unlink()
if error: raise error
hash_file.write_text(new_hash)
@@ -319,6 +319,9 @@ CONFIG = autodetect_system_config()
store_system_config_in_globals(CONFIG)
os.chdir(f"{INTEGRATION}/EnginePatches")
if MODE == "experiment":
build_intellisense_database_for_clangd(True)
if MODE == "all":
checkout_correct_unreal_engine_branch_and_apply_patch()
generate_buildconfiguration_xml()
@@ -330,7 +333,7 @@ if MODE == "all":
if MODE in ["all", "c++"]:
build_luprex_and_integration()
build_intellisense_database_for_clangd(MODE == "all")
# build_intellisense_database_for_clangd(MODE == "all")
if MODE == "clean":
build_clean()