This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-24
Channels
- # announcements (1)
- # aws (140)
- # beginners (41)
- # calva (47)
- # cider (43)
- # clj-kondo (36)
- # clojure (178)
- # clojure-europe (12)
- # clojure-gamedev (2)
- # clojure-italy (1)
- # clojure-nl (17)
- # clojure-russia (3)
- # clojure-spec (37)
- # clojure-uk (97)
- # clojurescript (173)
- # core-async (16)
- # cursive (18)
- # data-science (2)
- # datascript (6)
- # datomic (32)
- # dirac (16)
- # duct (16)
- # events (2)
- # figwheel-main (7)
- # fulcro (8)
- # graalvm (18)
- # immutant (3)
- # joker (2)
- # kaocha (8)
- # nrepl (6)
- # nyc (2)
- # off-topic (62)
- # quil (3)
- # re-frame (18)
- # reitit (6)
- # ring-swagger (1)
- # shadow-cljs (119)
- # spacemacs (4)
- # specter (2)
- # tools-deps (10)
- # vim (58)
- # xtdb (9)
i know that cursive is not an open source, but my quest is to write a simple plugin for intellij in clojure.
@akond It’s (mostly) possible, but it’s very annoying and in general in my opinion not worth it.
It’s a nice language, and the whole path to using it for IntelliJ plugins is (unsurprisingly) very smooth.
Building a plugin using Clojure is annoying - you really want to use Gradle since there’s a lot of tooling there, but the Clojure Gradle story is still experimental. I used a plugin I hacked together myself, that later became Clojurephant but I don’t know what the status of that is.
It’s also tricky to get your classes loaded correctly, Clojure is inflexible in which classloader it lets you use.
And extending abstract classes in Clojure is really foul. I run a fork just to make that palatable (see https://docs.google.com/document/d/1OcewjSpxmeFRQ3TizcaRRwlV34T8wl4wVED138FHFFE/edit?usp=sharing), and that also helps with the classloader issue.
i thought cursive added support for resolving vas using import-vars
from potemkin, but it doesn't seem the case 😞
this is rewrite-clj.zip
namespace from https://github.com/xsc/rewrite-clj/blob/master/src/rewrite_clj/zip.clj