This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-29
Channels
- # aws (8)
- # babashka (45)
- # beginners (83)
- # cider (23)
- # clj-on-windows (4)
- # cljdoc (23)
- # clojars (6)
- # clojure (68)
- # clojure-dev (33)
- # clojure-europe (75)
- # clojure-nl (1)
- # clojure-uk (4)
- # clojurescript (14)
- # conjure (6)
- # data-science (15)
- # datascript (7)
- # datomic (47)
- # docker (15)
- # events (1)
- # fulcro (4)
- # graphql (3)
- # jobs (4)
- # lsp (14)
- # nginx (2)
- # nrepl (2)
- # off-topic (41)
- # pathom (18)
- # pedestal (1)
- # polylith (72)
- # reitit (8)
- # reveal (1)
- # shadow-cljs (48)
- # tools-build (11)
- # tools-deps (24)
- # xtdb (8)
You know if I create a new namespace, and lsp fills in some of the requires automatically, where does it derive that list from?, i.e., I just created a new test namespace, and this was populated:
clojure-lsp only create the ns form if the setting is enabled (which is on by default), but not requires/imports
Found it. Since I use vim-projectionist, I see that someone has snuck in a .projections.json into our repo
"test/*_test.clj": {
"alternate": "src/{}.clj",
"type": "test",
"template": [
"(ns {dot|hyphenate}-test",
" (:require [{dot|hyphenate} :as {basename|hyphenate}]",
" [clojure.test :as t :refer [deftest testing is are run-tests]]))",
""
]
},
👍 1
😢 1