clojure-lsp / clojure-lsp/clojure-lsp
Create a config option to make extracted defs and functions public per default
- Dominant language
- Clojure
- Stars
- 1.3k
- Forks
- 180
- Avg merge
- 13m
- Merged PRs (30d)
- 4
Description
**Is your feature request related to a problem? Please describe.**
Since we are not using the visibility attribute in our codebase, I'm always frustrated when I extract a `def` or a function, and I need to explicitly remove the `^:private` or change the `defn-` to `defn`.
**Describe the solution you'd like**
Have an option in the config to make the extracted `def` or `defn` public by default.
**Describe alternatives you've considered**
Manually changing the visibility whenever the extract action has been used.
**Additional context**
https://clojurians.slack.com/archives/CPABC1H61/p1771338189656739?thread_ts=1771338095.642159&cid=CPABC1H61
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.