Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ldeck
    @ldeck
    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
    chr8090
    @chr8090
    很叼
    Andreas Marschke
    @andreas-marschke
    @bbatsov I wonder if it would be a good thing to either make loading the projectile cache async or go forth with splitting the cache per-project as proposed in #1101 . what do you think? I can see scenarios where even on a single projects the list of files is large enough to delay loading the cache. Seeing as the cache is mostly used for project-find-file (if I'm incorrect on this please feel free to complain) this should be fine to do asynchronously. (emacs-async seems a good candidate to implement this with)
    Andreas Marschke
    @andreas-marschke
    If a project matches multiple types ie. it's a gradle project and it matches a specific type I defined. Is there a good way to match both types when checking? Or is it only ever possible to resolve to one project-type? A use for me would be that an android project for me for example would resolve the src path differently than my gradle project.
    Andreas Marschke
    @andreas-marschke
    But both would be relevant should I want project specifice source lookup and classes resolution
    Andrew Gaydenko
    @gaydenko
    Hi! How to set globally ignored files (that is for all projects projectile will ever meet)?
    Andrew Gaydenko
    @gaydenko

    Yes, I have found the doc with ((nil . ((projectile-globally-ignored-files . ("MyBinaryFile"))))) example. How would fragment look for inclusion into init.el to replace, say, this .projectile

    -target
    -public
    -.*
    -node_modules

    ?

    Andrew Gaydenko
    @gaydenko
    Ah, have found bbatsov/projectile#1119
    EvanAad
    @EvanAad
    Hello. How can I make feature requests?
    Andreas Marschke
    @andreas-marschke
    @EvanAad Probably through an issue on Github. What are you looking for explicitly? Maybe this is already achievable in another way?
    academikuser
    @academikuser
    Hi, I have never moved beyond touch .projectile how can I make ~/foo/ and ~/bar/scratch/ appear as a single project?
    Nick McCurdy
    @nickmccurdy
    Is there a way to configure projectile to not mess with the output of compilation buffers, either by configuring compile or using a terminal emulator instead of compilation mode?
    I like the convenience of compilation, but it screws up color codes and prevents me from interacting with interactive commands
    Paul Walsh
    @pwalsh
    When registering a project type, is there any way we can have some exclusions for marker files? With the way things seem to work now, any project that has frontend assets managed by npm will be detected as an npm project. This impacts some of my Clojure (lein-test) and Python projects, for example.