avli / clojureVSCode

Clojure support for Visual Studio Code
https://avli.github.io/clojureVSCode/
MIT License
204 stars 34 forks source link

Incompatibilities with Leiningen 2.8.3 #120

Closed landonpoch closed 5 years ago

landonpoch commented 5 years ago

I had to downgrade to Leingingen 1.8.1 to get things to work seamlessly. I don't have the stack trace I was getting anymore (since I've already downgraded), but when hovering over functions the integrated repl in vscode would spew out a stacktrace that said something to the effect of the info call failed.

I found this bug that recommends using more recent versions of cider / nrepl: https://github.com/technomancy/leiningen/issues/2513

You simply need a version of cider-nREPL compatible with the modern nREPL - e.g. 0.18. Cider 0.20 will drop completely support for the legacy nREPL, so it’s great that now Lein bundles the good stuff.

Looks like the plugin uses older versions as seen by my output when nrepl launches: Retrieving cider/cider-nrepl/0.15.1/cider-nrepl-0.15.1.jar from clojars

In the meantime downgrading leiningen seems to work.

avli commented 5 years ago

Hi @landonpoch,

thank you for the report! The new version of the extension with the latest cider-nrepl is available on the marketplace. Please update and let me know if it solves the issue.

avli commented 5 years ago

Fixed. See #123.