Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tom van der Sommen
    @tomvdsom
    @bbatsov your new projectile site is nice, but the screenshot-links are broken (uses the same relative links as in the github project's README.md rendering where they do work).
    dkeller93
    @dkeller93
    Is projectile-find-file supposed to show all the .gitignore'd files? Because mine is.
    Let me run another test with emacs -q facepalm Why do I always forget to do that?
    a13ph
    @a13ph
    @dkeller93 it should not. that's what SPC s f is for.
    maybe you use backend which doesn't ignore gitignored (plain grep?)
    dkeller93
    @dkeller93
    I'm not sure how to see which "backend" i'm using. Which function is your SPC s f mapped to?
    @a13ph
    a13ph
    @a13ph
    just press SPC h d k before it
    dkeller93
    @dkeller93
    Are you using evil-mode or something. Which function are you talking about?
    when I do git ls-files it lists the correct files, but when I do projectile-find-file, it shows a bunch of gitignored suggestions.
    a13ph
    @a13ph
    =describe-key=F1 k, whatever
    you need to install ag, i think
    or pt. go and search for "the platinum/silver searcher"
    i'm too sleepy to help anyone anymore, so i'd better go
    dkeller93
    @dkeller93
    Not sure what you're talking about. Goodnight.
    a13ph
    @a13ph
    @dkeller http://beyondgrep.com/ get link to pt here
    oh, rofl. i was sleepy and assumed i was in spacemacs gitter. ^^' That's why you use elisp instead of keys to show people around emacs, kids.
    Yuzhe Ding
    @MagisDing
    http://tuhdo.github.io/helm-projectile.html, how to mark mutiple files after SPC p f like demo shows in spacemacs ?
    dkeller93
    @dkeller93
    I think the fact that my .gitignore is just one line: *. I force added things to the project, so git status returns the right stuff. But commands like projectile-switch-open-projecthas all the junk files as suggestions.
    I should probably try spacemacs sometime.
    dkeller93
    @dkeller93
    But yeah. Can anyone reproduce my bug (if it is one)? Have a repo with the .gitignore at * and force add files. Have a bunch of junk files (aka my .emacs.d) too that you don't want as suggestions. Do the junk files come up as suggestions? You just repro'd my bug.
    Maybe I'm using git like an idiot, but I'm not sure this is expected behavior. I also don't know how the suggestions work (maybe they're not supported?).
    jefflasslett
    @jefflasslett
    Hello. I'm after a little help. I am working remotely with tramp and my editor is constantly "Making tags completion table for ...". I have to CTRL-G to get back to work. I think it's projectile that does this. Can someone advise me on how to prevent this auto update of TAGS while I'm working remotely? Or is there a better fix? BTW, I am using spacemacs.
    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