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

website : clarify Manual tests #5264

Merged
merged 3 commits into from May 29, 2023
Merged

website : clarify Manual tests #5264

merged 3 commits into from May 29, 2023

Conversation

doofin
Copy link
Contributor

@doofin doofin commented May 24, 2023

this clarifies how to do Manual tests

@@ -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
Copy link
Member

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.

Copy link
Contributor Author

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?

Copy link
Member

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?

Copy link
Contributor Author

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

Copy link
Member

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.

@doofin
Copy link
Contributor Author

doofin commented May 24, 2023

just updated my wording, hopefully it's more clear and reduced duplication

Copy link
Member

@ckipp01 ckipp01 left a 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.

@ckipp01 ckipp01 merged commit 10f02eb into scalameta:main May 29, 2023
22 of 23 checks passed
@doofin doofin deleted the patch-2 branch May 30, 2023 14:16
@doofin
Copy link
Contributor Author

doofin commented May 30, 2023

thanks! now it looks clear

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

Successfully merging this pull request may close these issues.

None yet

2 participants