aboutsummaryrefslogtreecommitdiff
path: root/pw_ide
diff options
context:
space:
mode:
authorChad Norvell <chadnorvell@google.com>2024-01-03 19:18:26 +0000
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-01-03 19:18:26 +0000
commita65bd44de1de9a146fd24917982b9b54dcaab530 (patch)
tree2df06708de0ea99482f5b8bfeb0371c36a72f349 /pw_ide
parent84e2bf6f82c9527800aff5219f314d4507f89bf8 (diff)
downloadpigweed-a65bd44de1de9a146fd24917982b9b54dcaab530.tar.gz
pw_ide: Document `compdb_gen_cmd`
This should have been in #184809. Oops! Change-Id: I3232dafdcb1060f45259d8b06c74ae7c7a15232f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/184899 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Chad Norvell <chadnorvell@google.com>
Diffstat (limited to 'pw_ide')
-rw-r--r--pw_ide/docs.rst1
-rw-r--r--pw_ide/py/pw_ide/settings.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/pw_ide/docs.rst b/pw_ide/docs.rst
index 674108af8..96e6d5df3 100644
--- a/pw_ide/docs.rst
+++ b/pw_ide/docs.rst
@@ -28,6 +28,7 @@ source control, and applies only to that checkout of the project. All of these
files have the same schema, in which these options can be configured:
.. autoproperty:: pw_ide.settings.PigweedIdeSettings.working_dir
+.. autoproperty:: pw_ide.settings.PigweedIdeSettings.compdb_gen_cmd
.. autoproperty:: pw_ide.settings.PigweedIdeSettings.compdb_search_paths
.. autoproperty:: pw_ide.settings.PigweedIdeSettings.targets
.. autoproperty:: pw_ide.settings.PigweedIdeSettings.target_inference
diff --git a/pw_ide/py/pw_ide/settings.py b/pw_ide/py/pw_ide/settings.py
index 15ceaf853..80b4cdae1 100644
--- a/pw_ide/py/pw_ide/settings.py
+++ b/pw_ide/py/pw_ide/settings.py
@@ -375,6 +375,11 @@ _docstring_set_default(
PigweedIdeSettings.working_dir, PW_IDE_DIR_NAME, literal=True
)
_docstring_set_default(
+ PigweedIdeSettings.compdb_gen_cmd,
+ _DEFAULT_CONFIG['compdb_gen_cmd'],
+ literal=True,
+)
+_docstring_set_default(
PigweedIdeSettings.compdb_search_paths,
[_DEFAULT_BUILD_DIR_NAME],
literal=True,