This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-02-16
Channels
- # beginners (7)
- # boot (63)
- # capetown (1)
- # cider (20)
- # clara (15)
- # cljs-dev (5)
- # clojure (195)
- # clojure-austria (2)
- # clojure-dev (46)
- # clojure-dusseldorf (9)
- # clojure-germany (6)
- # clojure-greece (36)
- # clojure-italy (5)
- # clojure-nl (4)
- # clojure-russia (173)
- # clojure-sg (1)
- # clojure-spec (93)
- # clojure-uk (65)
- # clojure-ukraine (2)
- # clojured (9)
- # clojureremote (1)
- # clojurescript (52)
- # core-async (14)
- # core-logic (5)
- # cursive (21)
- # data-science (8)
- # datomic (60)
- # emacs (83)
- # jobs (9)
- # jobs-discuss (7)
- # juxt (6)
- # klipse (2)
- # leiningen (1)
- # lumo (24)
- # mount (4)
- # numerical-computing (1)
- # off-topic (18)
- # om (37)
- # om-next (5)
- # onyx (13)
- # pedestal (1)
- # perun (44)
- # proton (2)
- # rdf (3)
- # re-frame (24)
- # reagent (4)
- # remote-jobs (3)
- # spacemacs (3)
- # testing (6)
- # vim (10)
- # yada (2)
Actually scratch that, this discussion may help: https://github.com/company-mode/company-mode/issues/296 the relevant part being customizing completion-styles
@qqq my cider injects required deps on cider-jack-in
(not on cider-connect
, though). so to be sure you can inspect deps in cider’s repl
either way, I got cider working, though refactor-nrepl now gives me:
no clojure project detected. The refacotr-nrepl middleware won't work and has been disabled
sooheon thanks for the pointer. Reading related links got me back here: https://github.com/clojure-emacs/cider/blob/master/doc/code_completion.md#fuzzy-candidate-matching, which seems to be getting me what I wanted.
And for extra context: I’m happy with the non-fuzzy matching normally, but fuzzy matching is really helpful when adding imports for Java-interop code.
austinbirch Great, that resource is a really good explanation of company mode in general. I'm curious though it doesn't quite have the use case you asked for, which is matching from an internal substring, no? It seems the very first letter needs to match still
I thought that too, but tried it and it seems to be working!
I’ll try in a fresh REPL session a bit later, in case there’s something weird going on. I’ll report back here if it stops working.
Just restarted REPL & emacs to test: Not entirely sure what’s going on now. It seems like it might be treating the import case differently (which is all I care about – I don’t really want fuzzy matching elsewhere).
hi so we have recently split one large cljs app into multiple builds, and this all seems to work pretty well apart from one thing.
In my cljs repl I can play with namespaces in the default build but not others (so far so good)
Then I want to play with namespaces in another build so I do
(switch-to-build :build2)
Figwheel: Stopped watching build - build1
Figwheel: Watching build - build2
Compiling "resources/public/js/build2.js" from ["src/cljs"]...
Successfully compiled "resources/public/js/cms.js" in 3.759 seconds
so that seems to have worked - but I am still only able to see namespaces in build1 in my repl.
what am I missing?