8000 Fix glue for csharp steps by margori · Pull Request #144 · cucumber/vscode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix glue for csharp steps #144

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

Merged
merged 3 commits into from
Dec 21, 2023
Merged

Fix glue for csharp steps #144

merged 3 commits into from
Dec 21, 2023

Conversation

margori
Copy link
Contributor
@margori margori commented Feb 18, 2023

🤔 What's changed?

Fix the glue for CSharp step definitions

⚡️ What's your motivation?

The filter for CSharp step definitions did not have a '*'

🏷️ What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

♻️ Anything particular you want feedback on?

None

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

Copy link
Member
@kieran-ryan kieran-ryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting and raising a fix on this @margori. Requesting if you could provide some references for the pattern being introduced? Thanks to your pull request, I notice the same issue with the respective SpecFlow pattern for feature files ("*specs*/**/.feature"), if you would be able to correct that to "*specs*/**/*.feature" also; and perhaps rename the pull request to mention your PR fixes glob paths for c-sharp steps and feature files?

Copy link
Member
@kieran-ryan kieran-ryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@margori, thank you for your fix, have aligned and reinstated with a previous fix to the same paths from: (#93); and additionally fixed the glob for feature files in csharp projects.

As it was never updated in the Language Server previously, when the list of glob patterns was extended for new languages within this repository, they were also applied back into the VSCode repo (following documented procedure) and included the previous patterns for C# - inadvertently reverting the fix. This is now resolved and the changes are also in the Language Server (cucumber/language-server#89).

If you can locate evidence of the additional proposed path ("*step*/**/*.cs",) being a convention and that it should be a smart default, please raise a PR within the Language Server repository and link back to this PR.

@kieran-ryan kieran-ryan merged commit c965031 into cucumber:main Dec 21, 2023
@aslakhellesoy
Copy link
Contributor

Hi @margori,

Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾

In return for this generous offer we hope you will:

  • ✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
  • 💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
  • 💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
  • ℹ️ Don't feel obliged to help, just do what you can if you have the time and the energy.
  • 🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

@kieran-ryan kieran-ryan added 🐛 bug Defect / Bug and removed c_sharp labels Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Defect / Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0