This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-25
Channels
- # aleph (15)
- # beginners (65)
- # boot (46)
- # chestnut (3)
- # cider (1)
- # clara (11)
- # cljs-dev (5)
- # cljsjs (4)
- # cljsrn (13)
- # clojure (180)
- # clojure-dev (2)
- # clojure-italy (10)
- # clojure-russia (62)
- # clojure-spec (6)
- # clojure-uk (85)
- # clojurescript (45)
- # community-development (11)
- # crypto (3)
- # cursive (10)
- # datomic (94)
- # defnpodcast (2)
- # fulcro (4)
- # heroku (1)
- # hoplon (4)
- # jobs (3)
- # juxt (10)
- # leiningen (1)
- # luminus (4)
- # mount (13)
- # music (1)
- # off-topic (10)
- # onyx (2)
- # portkey (15)
- # proton (2)
- # re-frame (16)
- # reagent (10)
- # shadow-cljs (194)
- # spacemacs (2)
- # specter (2)
Say, with IntelliJ 2017.2.4 and Cursive 1.6.1-2017.2 I noticed I'm not seeing unused function arguments or namespaces highlighted in gray any more. Is there a preferences I need to set to get them back or something?
Functions that are never called still show up as grayed out though.
@timgilbert Could you check here and see if this is your problem? https://github.com/cursive-ide/cursive/issues/1637#issuecomment-298207286
Ah, yes, looks like they are set to "no highlight, only fix" although I didn't go in and change their values myself
So I think that should be the right setting, but quite a few people recently have had this problem, and setting it to warning seems to work.
Resetting the values to "weak warning" gives me the behavior I was expecting. Thanks!
Is there a solution to a situation like this?
(ns my.foo
(:require
[clojure.spec.alpha :as spec]))
(s/def )
When you start typing the s/def
Cursive will have the autocomplete dropdown appear. But if you hit enter on any of the options, it will add a new line to the :require
that looks like [clojure.spec.alpha :as s]
when it should just change the s/def
to spec/def
given the namespace is already aliased.