-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
Add projectRootDir setting #580
Add projectRootDir setting #580
Conversation
Thanks! I'll have a look and test this. Can you also update the user docs for custom sequences? It is often easiest to judge if this kind of change is applied on the right place, by reading the user docs. It all looks good at my quick reading of the diffs, and I might have some more feedback in a moment. |
Updated. My main area of uncertainty was exactly where to put this new property within the |
The whole idea is a clever help for monorepos. I have been thinking quite a lot about how to support them better, but didn't think about how well it fits with a custom sequence. 😄 |
Sounds good to me, I've moved it to the root level. I've been using this new feature for the past couple days and it's definitely been a small but nice quality of life improvement! I can't speak for other monorepo users, but it works well for our code base. We recently gone through the process of switching most of our clojure projects from lein to Clojure CLI, and implemented a custom |
3f0e89a
to
2218810
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is correct. 😄
So, now I have merged things to dev that also deals with the project dir thing. Can you pull that in and see that your changes still work? Sorry about the hassle! |
Sorry for the delay, things have been a bit hectic with all this virus business. I will check this soon. |
No problem at all! Here's a doc page that might benefit from a mention of/section about monorepos: https://calva.readthedocs.io/en/latest/workspace-layouts.html |
@stefan-toubia bump :-) |
I think things have moved quite a bit around this in Calva. Not sure which route is best, but maybe it is easiest to start over from a fresh |
Closing this, replaced by #1100 |
Hello again. This PR proposes a small but meaningful feature that will allow us users working in monorepos to configure our replConnectSequence with a specific project root directory. Previously, I've always had to open a specific file before doing jack-in. This addition removes that step, and a lot of headaches that came with it.
What has Changed?
calva.connectionSequences.menuSelections
to manually override the project root directory. This is useful for monorepo projects.Addressed #579
My Calva PR Checklist
I have:
dev
branch. (Or have specific reasons to target some other branch.)master
. (Sorry for the nagging.)ci/circleci: build
test. (For now you'll need to opt in to the CircleCI New Experience UI to see the Artifacts tab, because bug.)[Unreleased]
entry inCHANGELOG.md
, linking the issue(s) that the PR is addressing.The Calva Team PR Checklist:
Before merging we (at least one of us) have:
dev
branch (unless reasons).Ping @PEZ, @kstehn, @cfehse, @bpringe