This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-21
Channels
- # adventofcode (47)
- # aleph (18)
- # announcements (20)
- # babashka (81)
- # beginners (23)
- # biff (6)
- # calva (5)
- # cider (50)
- # clojure (34)
- # clojure-europe (19)
- # clojure-norway (11)
- # clojure-spec (6)
- # clojure-uk (1)
- # clojurescript (2)
- # conjure (2)
- # cursive (14)
- # datomic (1)
- # humbleui (11)
- # hyperfiddle (3)
- # introduce-yourself (5)
- # joyride (1)
- # nbb (7)
- # off-topic (19)
- # podcasts-discuss (1)
- # reagent (3)
- # reitit (19)
- # releases (1)
- # ring-swagger (1)
- # shadow-cljs (29)
- # sql (6)
- # squint (56)
with the new feature in 1.12.5 that inserts requires from completions etc, it breaks our formatting if the insert makes it the first require entry like the following:
(ns converter.coerce
(:require [clojure.string :as str]
[clojure.tools.logging :as log]))
if I insert say a clj-time requirement from a completion, it formats it as:
(ns converter.coerce
(:require
[clj-time.core :as t]
[clojure.string :as str]
[clojure.tools.logging :as log]))
instead of retaining our existing formatting (which is fine when it inserts it in other positions)Looks like a bug, yes - could you file an issue please, and I’ll get that fixed for the next build.
We’re seeing this bug too, although it appears to do this every time.
I filed this as https://github.com/cursive-ide/cursive/issues/2763, it’s fixed for the next build.
ahh awesome thanks, just got back from my holidays today and was going to follow this up!
When searching for usages of a symbol, the line items only show the file name. There doesn’t seem to be anyway to include the full path or the full namespace. The “File structure” toggle doesn’t change anything either. If there are multiple files with the same name it’s impossible to tell them apart. I think this is a regression
It would be nice if it added just enough information to disambiguate between files in the result set. But even always showing the full NS / file path would be ok. Currently the only workaround is opening the full find tool window
And in the full find tool window, a similar problem exists - the file structure
setting is ignored, the only way to tell them apart is by enabling group by package
which adds a lot of noise
is there any way to customize this that I’m missing?
also note that even enabling the preview (cut off in my screenshot above) only shows the file name, not the path or anything else
by comparison, the find in files
dialog always shows the full path of each file
I looked into this a while ago. Unfortunately this is an IntelliJ dialog that I can’t customise, and I don’t think there’s any way to achieve this. I’ll ask again in the plugin support slack.
If this bothers you, go and upvote https://youtrack.jetbrains.com/issue/IDEA-195508 - I did
If this bothers you, go and upvote https://youtrack.jetbrains.com/issue/IDEA-195508 - I did