This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-28
Channels
- # announcements (5)
- # aws (16)
- # beginners (62)
- # calva (2)
- # cljdoc (17)
- # cljs-dev (2)
- # clojure (89)
- # clojure-brasil (1)
- # clojure-europe (3)
- # clojure-italy (12)
- # clojure-nl (1)
- # clojure-russia (2)
- # clojure-spec (10)
- # clojure-uk (26)
- # clojurescript (45)
- # cursive (4)
- # data-science (6)
- # datavis (1)
- # datomic (15)
- # duct (5)
- # fulcro (55)
- # juxt (1)
- # kaocha (2)
- # leiningen (1)
- # off-topic (101)
- # pathom (12)
- # portkey (4)
- # quil (5)
- # re-frame (9)
- # reagent (2)
- # reitit (28)
- # shadow-cljs (114)
- # spacemacs (9)
- # speculative (2)
- # sql (3)
- # test-check (18)
anyone have any luck ignoring files on a per project basis?
Here is what i tired:
1. create a .proejctile file in the base of my project
2. add the line -/*.js
to it
3. stage and commit it run command projectile-replace
4. i still see .js files
also peeking into elisp code it seems it tries to use ag, ack and then git-grep (in that order). So maybe .agignore
helps?
i can't gitignore these files because there important to the project. Maybe i can just ignore while replacing? is there an option for "no to everything in this file"
for global replace what I usually do is search for something, then in search results I’d press C-c C-e
and then use iEdit or multiple cursors, then commit my changes
I got it to work for my case (mostly projectile-ag
) a while back @U0DJ4T5U1... i had to make some changes to spacemacs menus iirc... will look up details when I'm back behind a keyboard
mostly i wanted search and replace to work. most other cases i can ignore the other files
i was just after search, but there may be a similar solution for search/replace - i ended up replacing the default <sap> binding, 'cos the default binding was ignoring the projectile exclusions - this went in dotspacemacs/userconfig
: https://gist.github.com/mccraigmccraig/81c2e94d50824306b3c0245c99a26e1e