Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Robby O'Connor
    @robbyoconnor
    Hey all -- is there a way to not have the / included in the projects list? I always see my home directory and / included
    Chih-Wei (Bert) Chang
    @lazywei
    Hi, I'm wondering if it is possible to define some functions only for certain specified project?
    ketbra
    @ketbra
    I have large project that I enabled caching for in dir-locals.el. This works great when finding a file with C-c p f when already in a file within the project, but is there a way to get the caching option to be used when switching projects with C-c p p ?
    James Conroy-Finn
    @jcf
    Just encountered bbatsov/projectile#1033. I'm guessing this is going to affect quite a few people as it appears several Projectile fns are affected.
    Ag Ibragimov
    @agzam
    heads up. bunch of Spacemacs users (inlcuding myself) reported that latest update breaks
    Novak Boškov
    @novakboskov
    I'm struggling to set projectile ignoring some files. I've found few resources which describe how to do this:
    • Projectile shoud ignore files from .gitignore but projectile-grep lists .log files since I have *.log in my .gitignore.
    • I've found that I could use .projectile (here) but when I put -*.log in .projectile and invalidate cache with projectile-invalidate-cache it still lists all logs.
    • I've found that I could use dir-locals.el here but when i put ((nil . ((projectile-globally-ignored-files . '("README.md"))))) projectile-grep remains listing lines from README.md.
      My project is a Clojure project and I use CIDER.
      What I'm doing wrong?
    Farhad
    @fhdhsni
    Projectile doesn't find my test files and when I enabled (setq projectile-create-missing-test-files t)it says Project type not supported. What should I do to fix it? thank you
    tutysara
    @tutysara_twitter
    @novakboskov , got a similar issue, couldn't make projectile ignorenode_modules sub directory, did you found a solution to yours?
    Tom van der Sommen
    @tomvdsom
    tutysara
    @tutysara_twitter
    @tomvdsom i had a trailing slash, I removed it, let me check again
    i found this while testing it, I am working on a sub directory in a large svn project. I placed a .projectilefile inside the subdir to mark it as a project. However when calling projectile-find-filewithin the subdir, the SVN file list command svn list -R . | grep -v '$/' | tr '\n' '\0' is used instead of the generic file list command which is find . -type f -print0. Is this a bug? Anyway I can use the generic-file-list command to list the files in the subdir?
    ldeck
    @ldeck
    @escherize Search in project (ag) appears to be working via Helm for me now, having just updated everything today.
    Looks like web-mode is the culprit. I don't think it is projectile related.
    Commenting out this config (setq whitespace-line-column 80000) fixed the issue.
    ldeck
    @ldeck

    Cool. Just figured out how to filter ag searches to specific file types rather than all files. e.g., js files only.

    pattern: -G\.js$ text_to_find

    What might be even nicer would be an interactive option.

    Ulrich Reining
    @spuelrich
    Is there a way to tell projectile to read the project's files from an existing TAGS file? And also use the folder containing the TAGS file as the root folder of the project.
    Michael Pankov
    @mkpankov
    hi. anyone contributed to projectile? is there an easy way to override the projectile coming from Prelude with projectile from git repo? I want to implement something and need this for testing
    (I previously copied over the source from repo to where Prelude downloads packages (".emacs.d/elpa") and byte-compiled on every edit, but grew tired of this workflow)
    Hubert Behaghel
    @behaghel
    is it expected that projectile-project-root errors with "You're not in a project" in a function hooked onto projectile-after-switch-project-hook?
    Novak Boškov
    @novakboskov
    Is it possible to customize function that is used to find corresponding test file from a regular file and vice versa?
    I'm using Clojure Luminus and its test files are determined by direcory structure not exact file name, e.g. file my-project/src/clj/my-project/handler.clj has test file my-project/test/clj/my-project/test/handler.clj.
    Tim Millar
    @tim-millar
    Anyone having a problem with projectile-rails at the moment. It no longer loads up on initialization and when I switch it on manually it only works for the current buffer.
    Krzysztof Magosa
    @krzysztof-magosa
    hi guys, does anybody have idea how to exclude entire directories from projectile? i want to exclude "technical" directories like 'build', 'venv' etc. I didn't find anything in docs.
    Tom van der Sommen
    @tomvdsom
    @krzysztof-magosa using a .projectile file allows you to. It creates a project-boundary and allows excludes and includes. See the docs for more info 😉.
    Krzysztof Magosa
    @krzysztof-magosa
    would be nice to have also global option, i always structure projects the same way, so all python projects have 'venv' etc. ;)
    Ibrahim Awwal
    @ibrahima
    quick question, is there a way to do a dumb go to definition using projectile? eg. for ruby, if point is on "some_method_name", just do a grep for def some_method_name and if such a line exists, go there?
    or does a different package exist that does that? i feel like i heard about something like that
    i know something like robe might be "smarter" for that, but i seem to usually end up having issues with that
    oh, the thing i remember coming across is https://github.com/jacktasia/dumb-jump
    Krzysztof Magosa
    @krzysztof-magosa
    I'm using helm-gtags for such things
    helm-codesearch is also helpful
    Murphy McMahon
    @pandeiro
    I'm having a weird issue where (projectile-project-root) resolves to my home directory from some Clojure projects (both lein and boot projects are affected); I've taken a look at the source to that function but the cache throws me off the trail -- I can't see why it's jumping up from my actual project root to my home directory
    Murphy McMahon
    @pandeiro
    Discovered my problem was a stray .git directory in my home directory
    Guess there's no way for projectile to know what to do in that case
    Not sure though why all projects were not affected equally
    Tom Badran
    @badders
    Is there a nice way to have per project environment variables that get set in emacs, specifically im looking at having project local PYTHONPATH settings?
    Greg Pfeil
    @sellout
    This hasn’t always happened, but it’s been happening for a while now … whenever I start Emacs, I get a minibuffer prompt like Commander […]:. I figure it could be something I customized, but not sure what. I’m not calling (projectile-commander) explicitly anywhere.
    Greg Pfeil
    @sellout
    Ok, seems to have had something to do with (use-package projectile …), so I got rid of that.
    alex
    @lethjakman
    Is there a way to use multi-occur on all files in a project, not just the ones that are open in a buffer?
    @ibrahima in spacemacs I use helm-projectile-do-ag constantly.
    SPC s a p
    Krzysztof Magosa
    @krzysztof-magosa
    Hi guys, I've added #*# to projectile-globally-ignored-files but I still such files. Any idea why is that? It works perfectly for all other extensions etc.
    Dan Liebgold
    @danl-ndi
    is indexing super slow? (total newb to projectil)
    Dan Liebgold
    @danl-ndi
    ok, indexing is fast. is there a way to customize the extension that projectile-grep will search with?
    and somehow projectile will try to start multiple greps (and sometimes just freeze up emacs entirely)... I'm on windows, btw
    Tianxiang Xiong
    @xiongtx
    @bbatsov The "native" method is for finding files in a projectile only, not grepping, right?
    See: bbatsov/projectile#1124
    Greg Pfeil
    @sellout
    I’ve found myself having to M-x projectile-mode in many buffers in the same project lately. Am I doing something wrong?
    Tianxiang Xiong
    @xiongtx
    @sellout That shouldn't be the case. What version of projectile (M-x projectile-version) do you have?
    Greg Pfeil
    @sellout
    @xiongtx 0.14.0