Fork me on GitHub
#cursive
<
2020-02-21
>
urbis11:02:01

Hello, is there any way to sort namespaces automatically?

AJ Jaro14:02:39

@U84FEKW9J I created an IntelliJ plugin that works ok. There’s a bug with it that it’ll remove any reader conditionals in the require statement. Other than that I’ve been satisfied so far. I totally understand it’s not written optimally so feel free to create a PR on it if you have time to make it better too. https://plugins.jetbrains.com/plugin/13222-clojure-namespace-sort

🚀 2
urbis14:02:54

Thank you 🙂

Ivar Refsdal12:02:42

That's neat. Where would the source code be for this plugin?

sam22:02:18

I’m having an issue with using the Before launch part of my repl config. Specifically, if I add a Run Another Configuration to run a Clojure Application then that other configuration runs, but the REPL never launches. The problem seems specific to Run Another Configuration. If I achieve the same thing by Run External Tool then both the external tool runs and the REPL launches successfully. Wondering if this is known or whether I should file a bug. I also don’t know if this has anything to do with Cursive or whether it’s an intellij issue.

cfleming01:02:36

If you could file a bug for that that would be great, and I’ll take a look at it.

sam21:02:23

@U0567Q30W Thanks. I filed https://github.com/cursive-ide/cursive/issues/2323 I also filed https://github.com/cursive-ide/cursive/issues/2322 for another REPL issue that I asked about previously.