Questions tagged [projectile]

Projectile is a project management package and framework that facilitates operations against the project as a whole.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Projectile test jump to failed test using gtest

I have projectile setup on a meson built cpp-project. I can compile and test via projectile just fine, i.e. projectile calls ninja and navigates the errors, warnings in the results. But the test ...
user92020's user avatar
0 votes
1 answer
39 views

Moving from VSCode: suggest a workflow that does not involve the tree view

I am considering moving from VScode to emacs, mostly motivated by the awesomeness of emacs; and by org-mode. But I am genuinely struggling to be comfortable without having a project tree view. How do ...
hyperio's user avatar
  • 155
0 votes
1 answer
25 views

What determines when a file is added to projectile-recentf?

I'm not really sure how it's supposed to work, but when I use helm-projectile-recentf, I don't find the most recent files. Sometimes I do and sometimes I don't;) I always find them with helm-recentf, ...
Jason Hunter's user avatar
1 vote
1 answer
26 views

What variable does projectile-recentf use to store recent files?

I have trouble with projectile-recentf, in that it seems to forget files I've worked with. What variable does it use to hold the recent files?
Jason Hunter's user avatar
1 vote
0 answers
50 views

projectile takes up 1 GB and makes everything slow

I added projectile a while back and it makes emacs bloat up memory from 25mb to about 1.16 GB and everything becomes very slow (loding emacs, saving files, opening new files, etc). I think it may be ...
Daniel's user avatar
  • 121
0 votes
1 answer
15 views

shuffling between a set of open source files

What would be the easiest way of shuffling between a few source files, usually of the same type, say .py or .js. C-x C-b and selecting gets a little tedious once your open buffers list grows. I ...
Ajaneesh Rajashekharaiah's user avatar
0 votes
0 answers
254 views

Doom Emacs : Creating project using dired not working

I'm a new to emacs. So I just try to learn by using it. And What I'm trying to do is just making simple project. I make a directory in dired using + command. And inside that directory I create ....
codeDog's user avatar
0 votes
1 answer
39 views

How can I prevent projectiles from being removed?

Sometimes a network mount point is temporarily unavailable. If I use projectile during these times, projectiles gets removed. How can I prevent that?;)
Jason Hunter's user avatar
0 votes
1 answer
100 views

make projectile search functions work for non project files? (or include them as project files?)

Below is the situation I'm trying to solve project root is at ~/project/src/some.py `xref-find-definition` from `some.py` can go to python library in ~/.virtualenvs/myenv/lib/another.py Then, since ~...
eugene's user avatar
  • 489
0 votes
1 answer
39 views

How can I edit the projectile-known-projects list?

Is it possible to edit the projectile-known-projects as a list? In the same manner I do with org-agenda-files, which can be edited in the list with INS and DEL. I've tried describe-variable, but there ...
Jason Hunter's user avatar
0 votes
3 answers
28 views

How can I print all files in all projectiles?

I'm trying to print out all files in all projectiles (let ((files (seq-filter (lambda (b) (string-match "org$" b)) (mapcan (lambda (root) (mapcar (lambda (...
Jason Hunter's user avatar
0 votes
1 answer
47 views

Ivy-dispatching-done (M-o) action list is not showing all options

I use counsel-projectile-switch-project to pop up a list of projects and M-o to bring up the action list, but the action list is like this. and there's no way to scroll to get the top options like &...
Sean's user avatar
  • 11
0 votes
0 answers
57 views

helm-projectile-[grep,ag] in all known projects

helm-projectile-[grep,ag] works great, but how can I grep all known projects?;) Is there a function already for that?
Jason Hunter's user avatar
0 votes
1 answer
37 views

helm-projectile-switch-project MRU

When I issue the command helm-projectile-switch-project, can I have it open the Most Recently Used file in that project, instead of asking me for a file? If the file is already open, switch to that ...
Jason Hunter's user avatar
2 votes
1 answer
1k views

Getting error "Cannot open load file: No such file or directory: helm-config" suddenly after upgrading to MacOS 13.1

I recently upgrade my Macbook Air to MacOS Ventura 13.1. I also updated X-Code, command line tools, brew (upgrade and update). Now I'm experiencing issues with my .emacs.d/init.el and .emacs.d/common....
tamouse's user avatar
  • 135
0 votes
1 answer
1k views

How to clear project cache with Doom Emacs?

When add a project with path /Users/me/folerd1/myproject, it works well. Use SPC p d to delete the added project myproject under folder1 path, then add it under another path /Users/me/folder2/...
Alpin Cleopatra's user avatar
0 votes
1 answer
192 views

How to comment out multiple or all files in a directory?

I frequently use commands like paredit-comment-dwim, comment-dwim, and comment-region. I am also aware these commands can have a compound effect with the mark command. But, I would like to comment ...
Pedro Delfino's user avatar
1 vote
0 answers
91 views

Projectile is not ignoring files

I followed the docs here and added lines to .projectile like -/build -/Docs/doxy I did that because I want typical projectile commands to ignore those sub-directories in my project directory. My &...
Rob N's user avatar
  • 639
0 votes
0 answers
358 views

Projectile alternative optimized for TRAMP?

I really enjoy Projectile but it continuously doesn't play nice with TRAMP. I was wondering if there were any Projectile alternatives out there. I tried searching the internet but all I get all ...
Noah Huppert's user avatar
0 votes
0 answers
537 views

Fuzzy filename search with `projectile-find-file` no more?

In order to perform a fuzzy search over file names in a project, I used projectile-find-file in the past. For example typing in 'a' would interactively restrict the search to all the files that start ...
anon2328's user avatar
3 votes
1 answer
2k views

Projectile - "PATH is not a project"?

For some reason, Projectile has stopped allowing me to add new projects. When I add the project, it seems to work. But when I select the project with C-c p p I get the following error: Not sure how ...
Vinn's user avatar
  • 293
0 votes
0 answers
210 views

`projectile-run-project` waits for compilation instead of running project

When I try to run my projectile project with projectile-run-project it prompts me for a run command. After running the command ./out.a it opens a *compilation* buffer and hangs because it's trying to ...
jan's user avatar
  • 103
0 votes
1 answer
173 views

TRAMP and `projectile-ag`, `projectile-ripgrep` cause kernel panic and complete crash of Mac OS

I am using Emacs and TRAMP on a Mac to access a remote Git repo on a Linux machine. TRAMP is using the SSH protocol. projectile-find-file and routine editing works great. Projectile finds the .git ...
Peter Becich's user avatar
0 votes
1 answer
99 views

Option similar to `vc-directory-exclusion-list` but for files create by build tools

I'm missing an option variable similar to vc-directory-exclusion-list that holds of a list of auto-generated directory names that contain temporary files that are typically but not exlusively created ...
Nordlöw's user avatar
  • 497
1 vote
1 answer
519 views

Why can't I install projectile via use-package declaration?

I am watching a great YouTube series called Emacs From Scratch from System Crafters' YouTube channel. On episode #4, David Wilson talks about projectile. His screen shows: There is a pointer for the ...
Pedro Delfino's user avatar
0 votes
0 answers
95 views

How to keep `projectile-find-file-hook` from taking a long time in non-project dirs?

I'm using org-mode and org-roam, with many org files in ~/Documents/org-roam (and its subdirs). Org sometimes opens lots of those files to find things. Since I have projectile-mode on globally, every ...
GaryO's user avatar
  • 496
1 vote
1 answer
120 views

How to use `projectile-multi-occur` to find a symbol at point?

I am trying to make projectile-multi-occur to work with the symbol at point. I have done that for occur already, this works: (defun occur-symbol-at-point () (interactive) (let ((sym (thing-at-...
Gauthier's user avatar
  • 509
0 votes
0 answers
169 views

How to call counsel-projectile-switch-project with a specified project?

The logic is that, if the default directory of a buffer has a certain prefix, then call consule-projectile-switch-project with a specific project, otherwise simply invoke counsel-projectile. My ...
FunkyBaby's user avatar
  • 797
0 votes
0 answers
322 views

Projectile session/state

Initially I scanned the user directory (~) for projects, through inexperience. Later I defined the project root (~/.doom.d/config.el): ;; Projectile settings. (setq projectile-project-search-path ...
Alexey Orlov's user avatar
1 vote
1 answer
507 views

How to list the project by the name instead of the path in projectile?

I'm new to DOOM emacs and try to get used to projectile. I found how to set the project name by using .dir-locals.el, which can be done by ((nil . ((projectile-project-name . "PROJECT-NAME"))...
sungjun cho's user avatar
0 votes
2 answers
1k views

Projectile: How to include files of a sub directory into the project of of it's parent directory?

Given a project directory my-project which projectile correctly identifies because it is a git project. Inside my-project there is a my-module directory. It is a git submodule and therefor projectile ...
Witek's user avatar
  • 345
1 vote
2 answers
332 views

grep contents of a set of files from find

I want to grep contents of all CMakeLists.txt files in a project (nested within a directory) so I can jump from each instance, like I would when running emacs grep function. In the examples below I'm ...
Spacemoose's user avatar
1 vote
2 answers
325 views

org-projectile agenda view?

I'm trying to create a custom agenda to show todos for the current project logged via org-projectile. Something like this: (setq org-agenda-custom-commands '(("p" "Current ...
Evan Davis's user avatar
0 votes
1 answer
827 views

How to filter search results by path pattern?

I'm using Projectile with ripgrep. I can search project lines by some pattern, as an example: test 42 will match strings like this so, test is not 42 at all I would like to be able to add additional ...
achempion's user avatar
  • 115
0 votes
1 answer
128 views

How can I get projectile-grep et al to choose the project before searching?

Projectile-grep, projectile-ag et al always execute the search in the current file's project. What I want to do is to select the project from a completion list and get projectile to search that ...
vfclists's user avatar
  • 1,403
1 vote
3 answers
545 views

Finding in certain projects only files with particular extensions when doing a project(ile) grep

I have projects where *.nim files are the source files and *.js files are the "compiled" files. When I issue projectile-grep (or project-find-regexp) in these projects I get both source and ...
halloleo's user avatar
  • 1,341
0 votes
0 answers
183 views

Cannot navigate to recent projects in emacs dashboard: "Symbol's function definition is void: nil" error

Recently, I have not been able to open any of my recent projects that show up on the dashboard screen (package emacs-dashboard). If I move my cursor over one of the projects and press enter nothing ...
johnymm's user avatar
  • 163
0 votes
1 answer
266 views

solve error: variable is void: projectile-mode-map

I'm trying to bind projectile-find-file to a keyboard shorcut and running in to this error. Apparently projectile is installed, because M-x listing shows at least a dozen projectile prefixed commands.
american-ninja-warrior's user avatar
1 vote
1 answer
532 views

How to change projectile-bookmarks.eld saving path?

emacs keeps generating file called projectile-bookmarks.eld in home directory. How could I make it to save that file under ~/.emacs.d/tmp or a different path? I also keep seeing Reverting buffer ‘...
alper's user avatar
  • 1,370
1 vote
1 answer
677 views

Adding directory local variable for projectile test command is not working

I'm setting up my python lsp using this video tutorial. My emacs init.el configuration file is here By default projectile-project-test-cmd runs the command python -m unittest discover. I want to ...
Rajkumar Natarajan's user avatar
0 votes
0 answers
78 views

How to git stage a just-tangled file in `org-babel-post-tangle-hook`

I want to create a org-babel-post-tangle-hook that does a git stage buffer-file-name. There is a boring technical issue I have, which is that I don't know how to call magit-stage-file from elisp so ...
nwknoblauch's user avatar
5 votes
1 answer
1k views

Opening a file from a new/different Projectile project in the same workspace in Doom Emacs

If I'm working on one project and I switch over to a buffer from another the default behavior of Doom Emacs seems to be to open the new buffer in a new workspace (when workspaces are enabled). I want ...
Dargscisyhp's user avatar
2 votes
1 answer
341 views

Recent files by project rather than recent files and recent projects separately

Note: This question is really about Projectile and Recentf. I'm using them in the context of Spacemacs, so I describe that context, but the question isn't really intended to be Spacemacs-specific. The ...
Keith Pinson's user avatar
0 votes
0 answers
134 views

Can `ivy-switch-buffer` add the current project's files (via `projectile`)?

I bind C-x b to ivy-switch-buffer and I've gotten used to the idea that pretty much all files I might want are in there (I use ivy-use-virtual-buffers to show recent files). But sometimes they're not, ...
GaryO's user avatar
  • 496
0 votes
2 answers
458 views

counsel-rg how to repeat last search?

When repeat invoking counsel-ag, counsel-rg, counsel-projectile-rg etc, how can I quickly bring back the previous search term without retyping the query?
xster's user avatar
  • 103
0 votes
2 answers
312 views

elpy flymake does not recognize local .pylintrc

I have the following in the project root for my .pylintrc: [FORMAT] # Maximum number of characters on a single line. max-line-length=1000 # String used as indentation unit. This is usually " ...
Mittenchops's user avatar
1 vote
1 answer
1k views

Ripgrep default search

I have been using projectile-ripgrep for a few months and I'm pretty happy with it. A few days ago I was testing some of is options and the default search for ripgrep (what I see in the minibuffer) ...
makeMonday's user avatar
1 vote
1 answer
571 views

Confused regarding .dir-locals.el and projectile

I have a python project, it has tests and I can execute them from the command line. I just read about .dir-locals.el in the projectile documentation and I want to execute tests from inside emacs using ...
nanounanue's user avatar
1 vote
0 answers
232 views

how best to set the `projectile-regenerate-tags` command

I have a fortran project I'm working on and I cannot figure out the right way to use .dir-locals to set the projectile-tags-command here is my dir-locals.el file: ( (f90-mode (projectile-tags-...
Vince W.'s user avatar
  • 405
1 vote
3 answers
2k views

Projectile switch between opened projects

I often have to work with multiple related projects and switching between them can become hard. I use counsel-projectile and it really makes everything easier. To be clear, I am not talking about ...
sigan's user avatar
  • 11

1
2 3 4 5