Fork me on GitHub
#lsp
<
2023-12-28
>
lotuc02:12:44

Hello, is it possible now to configure the lsp's add-import action adds the import with parens? Didn't find anything here https://github.com/clojure-lsp/clojure-lsp/blob/master/docs/all-available-settings.edn .

hiredman02:12:58

What does add imports with parens mean?

hiredman02:12:17

Oh, do you mean instead of square brackets for require?

ericdallo10:12:47

Not possible, and I'd like to understand why you would want that, there was some discussion in the past about what is the more canonical way, we could support a option for that, but follow a standard sounds better to me

lotuc01:12:50

I've been searching the style guide. Seems like that an old style guide plant a seed in my head. I've searched the discussion and checked https://github.com/bbatsov/clojure-style-guide, the style seems fine & consistent to me and I'll do with that. Thanks!

👍 1