Remove dependency step in order to use the extension
See original GitHub issuecoda_hale commented this in reddit
Looks like a great start, and it’s awesome to see more high-quality support for Clojure! One quick note: I’m pretty sure you can get around the manual cider-nrepl/nrepl dependencies steps if you invoke lein the same way cider does:
/usr/local/bin/lein update-in :dependencies conj \ \[org.clojure/tools.nrepl\ \"0.2.12\"\ \:exclusions\ \ \[org.clojure/clojure\]\] -- update-in :plugins conj \ \[refactor-nrepl\ \"2.3.0-SNAPSHOT\"\] -- update-in :plugins conj \ \[cider/cider-nrepl\ \"0.15.0-SNAPSHOT\"\] -- repl :headlessThat also means you’re not tied down to a particular version of those libraries.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Removing dependencies - Power Platform - Microsoft Learn
First, it's important to understand that dependencies only prevent operations that will delete a required component. The actions that can delete ...
Read more >How to Uninstall a Package by Removing Component ...
You can remove any installed package, including all its components and all data in the package. Also, any custom fields, links, ...
Read more >Proposal: Remove Maui's Dependency on Extensions.Hosting ...
A step to configure any DI services in the Hosted Application. Finally, a way to replace which DI container implementation is used -...
Read more >Adding package dependencies to your app - Apple Developer
If you need to remove a package dependency from your Xcode project, navigate to the Swift Packages pane in the settings, then select...
Read more >Contexts and Dependency Injection - Quarkus
It may happen that some beans from third-party libraries do not work correctly in Quarkus. A typical example is a bean injecting a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I see. But if we don’t ask for parameters, we prevent them from connecting to a remote REPL for example.
I think we should clearly distinct between the 2 connection modes. I think this will avoid confusion when using them and also simplify the logic.
Here are the commands I was thinking to provide:
Start REPL Automatically start and connect to a REPL. This is the main command we want to provide in this issue. This would always start a new REPL, even if the user started one himself outside the extension. If the user already started a REPL using this command, we prevent them from creating a new one (message: REPL already started). If they are connected manually to a REPL, we ask them to disconnect first.
Connect to a running REPL This is the today’s connection mode. We continue to ask for parameters. But I was thinking about removing automatic connection in case the user has a running REPL in the same path as the project. We can always help the user fill the parameters if we find a running REPL. This would continue to keep #31 a good requirement. If they are already connected to a REPL, we ask them to disconnect first.
Stop/disconnect REPL We kill the REPL we started in Start REPL. If the user connected manually, we stop using the parameters informed.
When the user opens a clojure project, I think we should always do a Start REPL. If they want to manually connect to a running REPL, they’d have to disconnect first. And later, like you said, we can leverage vscode project settings to change this default behavior.
Great! Thanks! I’ll follow those ideas then. I’ll let you know if I get stuck in some case.