Giter Site home page Giter Site logo

Comments (10)

PEZ avatar PEZ commented on August 21, 2024 7

Thanks. I probably should support that workflow. And, while at it, do the dependency auto-inject. I don't really like that such a big part of the README is about dependencies. 🤠

No ETA though, I need some good focus hours to get it rightly implemented.

from calva.

PEZ avatar PEZ commented on August 21, 2024 3

This feature is being worked on right now. Mostly by @mseddon, with me as a tester. Hopefully not to far away from release!

And, we will probably have boot and clj somewhat covered, @slipset. Sorry for leaving that question hanging for so long!

from calva.

bpringe avatar bpringe commented on August 21, 2024 1

I second this. I think getting the extension to start the repl automatically and connect to it is key for getting more beginners into Clojure (via this extension at least). I previously used a less feature rich extension for Clojure in VS Code that automatically started the repl and connected to it. This helped me quickly get into Clojure when I was just starting out. It would have taken me some time to figure this out otherwise.

I think I actually tried Calva in the past, but couldn't easily figure out how to connect the integrated repl (I had a very limited understanding of the repl and leiningen), so I abandoned Calva and went back to the other extension. Later I got tired of the lack of features and came back to Calva with my new knowledge and got it working. I just wanted to illustrate my perspective as a beginner as it may be representative of the average Clojure beginner.

from calva.

PEZ avatar PEZ commented on August 21, 2024 1

I welcome anyone interested in this feature to join the #calva-dev channel on Clojurians Slack. There you'll find preview builds of Calva where some of this is working and that we need feedback on to get the feature right.

As for CLJ and Boot. We will definitely try to support CLJ, but Boot will probably have to wait beyond version 1 of this feature. We know too little about it, and it takes quite a lot of time to figure out how to analyze the different project definitions, so Leiningen + CLJ + shadow-cljs will be our main targets for now.

from calva.

KingMob avatar KingMob commented on August 21, 2024 1

I was looking over the issues and saw this. Isn't it done? Calva does this currently.

from calva.

PEZ avatar PEZ commented on August 21, 2024

Thanks! I'll have a look. Might need some help figuring it out. Will let you know.

from calva.

PEZ avatar PEZ commented on August 21, 2024

It seems like Calva (the extension) would need to start the REPL in order for the injection to be done. As it is now Calva merely connects to a previously started REPL.

What does your workflow look like?

from calva.

iku000888 avatar iku000888 commented on August 21, 2024

Thanks for taking a look!

It seems like Calva (the extension) would need to start the REPL in order for the injection to be done. As it is now Calva merely connects to a previously started REPL.

Yes, cider does start the repl for me via a command called cider-jack-in

My typical work flow would be:

  1. Go to a project root with a project.clj or build.boot.
  2. Run cider-jack-in
  3. Have a clojure repl connected editor ready

Apart from starting the repl from the editor, sometimes I do connect to an already started repl (via cider-connect) which in this case would require similar manual setup.

from calva.

slipset avatar slipset commented on August 21, 2024

I guess that this would let users connect to repls being exposed by boot and clj as well?

from calva.

PEZ avatar PEZ commented on August 21, 2024

Thanks. This should indeed be closed.

Let me know what else funny stuff you find in the issues-box. 😄

from calva.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.