diff options
| author | Laurence Warne <laurencewarne@gmail.com> | 2022-10-01 15:25:41 +0100 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.dev> | 2022-10-04 15:27:14 +0200 |
| commit | 683862872462c1c3c68fa41e370817399c15f836 (patch) | |
| tree | b19afeaf7fbd7cbb0e5daa0a31b87583a70e496d | |
| parent | 3d7a3196141d61d8a25c78da4fb20f5673503fd7 (diff) | |
Document how to use the new project type overrides
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | doc/modules/ROOT/pages/projects.adoc | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b4917a..272f4fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ * [#1718](https://github.com/bbatsov/projectile/issues/1718): Add a project type definition for `GNUMakefile`. * [#1747](https://github.com/bbatsov/projectile/pull/1747): Add support for preset-based install-commands for CMake projects. * [#1768](https://github.com/bbatsov/projectile/pull/1768) Add support for disabling command caching on a per-project basis. +* [#1797](https://github.com/bbatsov/projectile/pull/1797) Make all project type attributes locally overridable ### Bugs fixed diff --git a/doc/modules/ROOT/pages/projects.adoc b/doc/modules/ROOT/pages/projects.adoc index 280dc8a..80e86a8 100644 --- a/doc/modules/ROOT/pages/projects.adoc +++ b/doc/modules/ROOT/pages/projects.adoc @@ -754,7 +754,7 @@ you e.g. test a command-line program with `projectile-run-project`. (setq projectile-comint-mode t) ---- -== Configure a Project's Lifecycle Commands +== Configure a Project's Lifecycle Commands and Other Attributes There are a few variables that are intended to be customized via `.dir-locals.el`. @@ -764,6 +764,11 @@ There are a few variables that are intended to be customized via `.dir-locals.el * for installation - `projectile-project-install-cmd` * for packaging - `projectile-project-package-cmd` * for running - `projectile-project-run-cmd` +* for configuring the test prefix - `projectile-project-test-prefix` +* for configuring the test suffix - `projectile-project-test-suffix` +* for configuring the related-files-fn property - `projectile-project-related-files-fn` +* for configuring the src-dir property - `projectile-project-src-dir` +* for configuring the test-dir property - `projectile-project-test-dir` When these variables have their default value of `nil`, Projectile runs the default command for the current project type. You can |
