Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External libraries for Source Code Browsing #73

Closed
rsachdeva opened this issue Oct 29, 2013 · 7 comments
Closed

External libraries for Source Code Browsing #73

rsachdeva opened this issue Oct 29, 2013 · 7 comments

Comments

@rsachdeva
Copy link

For clojure files, Refresh Leiningen Projects under Leiningen view gets the External libraries updated if I add dependencies in project.clj. However, if I remove a dependency in project.clj then it should also remove those in External Libraries. It did not (tried with 0.1.04 release).

@cursive-ide
Copy link
Owner

I can't reproduce this - for me, it always does remove the dependencies when I refresh. Can you describe an example of when it does not?

@rsachdeva
Copy link
Author

Yep, you are right - I figured out, there was a library that depended on another one, which was causing my example to not refresh fully. Also, just want to confirm, if you edit project.clj, and start local nREPL - does it take the current edited project.clj (in case you forget to do Refresh Leiningen Project and External Libraries are out of sync since this is Not at the Auto Refresh level) ?

@cursive-ide
Copy link
Owner

No, unfortunately it doesn't - see #58. I'll fix this soon.

@rsachdeva
Copy link
Author

Ah! - just to be clear here, if you do the Refresh Leiningen Project step and then start local nREPL, does it then take into account the current Refreshed External Libraries?

@cursive-ide
Copy link
Owner

Yes, if you refresh manually the libs will be on the classpath.

@rsachdeva
Copy link
Author

Nice, that works for me for now then! Thx for the confirmation and hopefully we can trigger the Refresh Leiningen Project step automatically when the project.clj is Saved after an edit. 👍

@cursive-ide
Copy link
Owner

Ok, great, I'll close this issue then since there are others tracking the various outstanding problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants