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
website : clarify Manual tests #5264
Conversation
docs/contributors/getting-started.md
Outdated
@@ -233,8 +233,8 @@ sbt | |||
## Manual tests | |||
|
|||
Some functionality is best to manually test through an editor. A common workflow | |||
while iterating on a new feature is to run `publishLocal` and then open an | |||
editor in a small demo build. | |||
while iterating on a new feature is to run `publishLocal;++3.2.2 mtags/publishLocal`(change 3.2.2 to the Scala version you want to test) and then run `Metals:Restart server` for opened projects or open an |
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.
Thanks for adding this @doofin, although if you look right below this we actually specify it in the next paragraph.
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.
yeah but it's a bit confusing for new comers,so a one liner might be more friendly?
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.
Ah, well I think if we include this here we're just duplicating it again right below that. I actually think what we have down below is more detailed, therefore more helpful. What do you think?
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.
Logicallay speaking yes, but when myself try to do manual test first I find it quite confusing at this:
It's important to note that sbt publishLocal will create artifacts only for the Scala version currently used in Metals and trying to use the snapshot version with any other Scala version will not work
I'll edit and remove the duplicate stuff about vscode
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.
Alright, I ended up changing this up a bit. I still don't want to always mention publishing mtags for a specific version because there are situations where you're working on a feature that doesn't actually rely on needing to do that, so a publishLocal
is fine. I've clarified that further and put a commit on top of yours.
just updated my wording, hopefully it's more clear and reduced duplication |
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.
Thanks a lot for this @doofin! I've gone ahead and added a small commit on top of yours just to clarify a few more things.
thanks! now it looks clear |
this clarifies how to do Manual tests