Cider 有像 Cursive(IntelliJ IDEA) 那样的实时模板吗?
Does Cider have live templates like Cursive(IntelliJ IDEA) does?
我是 emacs/cider Clojure 开发的新手。我找不到像在 IntelliJ IDEA(草书插件)中那样在 Cider 中创建 live templates 的方法。
yasnippet 是emacs 中提供模式的通用方法"templating"。我认识的整天使用 clojure 的人并不多,我认识的大多数人都是通过 clj-refactor
emacs 包
使用它的
如果您要使用片段,请使用 https://github.com/mpenet/clojure-snippets
David Nolen 的软件包不再维护:https://github.com/swannodette/clojure-snippets#warning
另外请注意,在 yasnippet 中用于 clojure 的片段已经过时。曾尝试更新它们,请参阅此处:https://github.com/AndreaCrotti/yasnippet-snippets/issues/162
所以为了安全起见,就用https://github.com/mpenet/clojure-snippets
我是 emacs/cider Clojure 开发的新手。我找不到像在 IntelliJ IDEA(草书插件)中那样在 Cider 中创建 live templates 的方法。
yasnippet 是emacs 中提供模式的通用方法"templating"。我认识的整天使用 clojure 的人并不多,我认识的大多数人都是通过 clj-refactor
emacs 包
如果您要使用片段,请使用 https://github.com/mpenet/clojure-snippets
David Nolen 的软件包不再维护:https://github.com/swannodette/clojure-snippets#warning
另外请注意,在 yasnippet 中用于 clojure 的片段已经过时。曾尝试更新它们,请参阅此处:https://github.com/AndreaCrotti/yasnippet-snippets/issues/162
所以为了安全起见,就用https://github.com/mpenet/clojure-snippets