aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-04Document how to use the new project type overridesLaurence Warne
2022-10-04Make all project type attributes locally overridableLaurence Warne
Add local overrides for the project type attributes test-prefix, test-suffix, related-files-fn, src-dir and test-dir. Add tests for this new behaviour.
2022-10-04[Fix #1788] Add notes about minimal version of `fd`Ruslan Bekenev
Update readme and projectile.el
2022-08-28Support `projectile-replace` to select file extension on C-u (#1778)Ta Quang Trung
This is to prevent projectile-replace from searching on very large files of a project (my Emacs hangs when projectile search on a 1MB Javascript library file, while I only wanted to search and replace on Rust code).
2022-08-27Tweak wordingBozhidar Batsov
2022-08-27[Docs] Tweak some wording (#1793)Martin Zacho
2022-08-04Add src-dir and test-dir Properties to mill Project Type (#1790)LaurenceWarne
2022-08-04Fix doc errors on Emacs snapshotlWarne
2022-08-02Add a progress reporter to recursive progress discoveryJuergen Hoetzel
2022-07-19Bump the copyright yearsBozhidar Batsov
2022-07-10Give the project type "go" higher precedence than universal types (#1785)Akinori MUSHA
It is very common for a Go based project to have a Makefile.
2022-07-05Add flag to fd to not print leading "./" (#1784)Álan Crístoffer
Fixes projectile-dir-files-alien on macOS. As I describe in #1783, the function `projectile-dir-files-alien` is not returning the same value in macOS as the function `projectile-dir-files-native`, because it is returning values with a leading "./". This PR fixes the `fd` command invocation adding the `--strip-cwd-prefix` to remove leading "./", and therefore fixing the issue reported in https://github.com/doomemacs/doomemacs/issues/6504.
2022-06-26Switch rails-rspec and rails-test src-dirColin Williams
Rails puts most of its source files under app rather than lib. This updates the src-dir to allow easy switching between source and test files in this case.
2022-06-26[Fix #1755] Cache failure to find project root (#1779)Edmund Jorgensen
When `projectile-project-root` was unable to find a project root for a directory, it would not cache the negative result, so future invocations would repeat the (often expensive) search for a project root every time. With this change, `projectile-project-root` caches failure to find a project root, when that failure is expected to be permanent, and consults that cache for speed on subsequent invocations. "Expected to be permanent" means that either we're trying to find the project root of a local directory, or we're successfully connected to a remote directory via TRAMP. If the directory isn't local, but we can't connect to it, we consider that a transient failure and don't cache it. Under the hood, this change uses the same `projectile-project-root-cache` that's used to cache successful attempts to find a project root, but with a new key `projectilerootless-{dir}`. This should allow cache invalidation to work as expected.
2022-06-13Fix several typos and spelling errorsJon Dufresne
Discovered using codespell: https://github.com/codespell-project/codespell
2022-05-30Add variable to enable or disable command caching.John Eivind Helset
Add variable `projectile-project-enable-cmd-caching` to enable or disable command caching which defaults to `t`. Make the project command functions, like `projectile-configure-project`, pass a `nil` command-map to `projectile--run-project-cmd` if caching is disabled. The variable is checked with a function `projectile--cache-project-commands-p` which ensures that directory local variables for the project are loaded.
2022-05-22[Fix #1654] Add changelog entry for command dedupe fixlWarne
2022-05-22Don't add duplicate commands to command historylWarne
2022-05-22Add Emacs 28.1 to CI testsJohanan Idicula
Now that Emacs 28.1 is released and the latest stable version available, we should include testing with this version in CI.
2022-04-30Fix byte compile errorkijimaD
2022-04-19Fix version extraction logicBozhidar Batsov
2022-04-19Tweak some changelog entriesBozhidar Batsov
2022-04-19Add a changelog entryBozhidar Batsov
2022-04-19Change Grails app project filename to application.yml (#1770)Lawrence Liu
As per grails new version (version 4 and 5), the configuration file name has been change to application.yml from application.properties.
2022-04-19Add changelog entry for [#1765] fixlWarne
2022-04-19[Fix #1765] Re-add defaults for src-dir and test-dirlWarne
Use "src/" and "test/" as defaults for the src-dir and test-dir attributes of a project type when toggling between implementation and test files. Improve error messages for implementation and test file toggling
2022-04-02Fix support for preset-based installs in CMake projects.John Eivind Helset
2022-03-29Add start and end anchors to `projectile-globally-ignored-directories` ↵Max Trussell
regular expressions
2022-03-29Escape periods in "projectile-globally-ignored-directories"Maxwell Trussell
The unescaped periods were causing unexpected directories to be ignored. E.g. for the following go project, the configitem directory was ignored because it matched the regex ".git": $ find pkg -type f pkg/metrics/argus.go pkg/secrets/secrets.go pkg/dynamo/dynamo.go pkg/utils/types.go pkg/utils/utils.go pkg/utils/errors.go pkg/configitem/configitem.go pkg/api/handlers.go pkg/api/middleware.go
2022-03-21Update projects.adocGarrett Thompson
Fix minor space typo
2022-03-13Fix some minor checkdoc warnings.Lars Ljung
2022-03-13Fix wide docstrings (#1760)Lars Ljung
The byte compiler in Emacs 28 show warnings for "docstring wider than 80 characters" in multiple places. These warnings are show every time the package is updated from list-packages so it's visible for the user. I mostly just used fill-paragraph to fix these docstrings.
2022-03-12Add Pijul support (#1757)Daniel Ziltener
2022-02-27Add vterm to the menuDerek Passen
2022-02-11Add PR link to changelog for projectile-update-project-type changeslWarne
2022-02-11Add documentation for projectile-update-project-type changeslWarne
2022-02-11Allow changing of project type precendencelWarne
Allow changing of project type precendence in projectile-update-project-type.
2022-02-11Allow nil values in update-project-typelWarne
2022-02-08Add support for preset-based installs in CMake projects.John Eivind Helset
2022-02-08[Fix #1750] Fix src-dir and test-dir for Maven projectsDmitry Polienko
2022-02-03Move defvars out of eval-when-compileBozhidar Batsov
`defvar` (when given a single argument) is a compiler directive whose execution has no effect. The fact that it also works when placed inside `eval-when-compile` is an accident (and a bug: it should only affect the rest of the code within the `eval-when-compile`).
2022-01-06Fix wrong variable nameGuillaume Brunerie
2021-12-27Merge commit 'ac60885f2a'Bozhidar Batsov
2021-12-20Tweak a changelog entryBozhidar Batsov
2021-12-20[#1734] Add a changelog entryBozhidar Batsov
2021-12-20Fix emacs 25 incompat in projectile--complementary-filelWarne
2021-12-20Update documentation around test/src-dir and update sbt project typelWarne
2021-12-20Fix testslWarne
2021-12-20Make src/test-dir as strings take priority over fallbacklWarne
2021-12-16Merge pull request #1735 from eggert/timestampBozhidar Batsov
Port projectile-time-seconds to future Emacs