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

Request for formatting options and textmate grammar #238

Open
iamkenos opened this issue Jul 5, 2024 · 1 comment
Open

Request for formatting options and textmate grammar #238

iamkenos opened this issue Jul 5, 2024 · 1 comment
Labels
🍼 incomplete Blocked until more information is provided

Comments

@iamkenos
Copy link

iamkenos commented Jul 5, 2024

🤔 What's the problem you're trying to solve?

Hi team!

First of all, thank you for all your work to provide the community with this extension.

I've been using the Cucumber (Gherkin) Full Support for a long time and I really liked it. Let's call it (CGFS).

I decided to check the official VSCode plugin provided by the Cucumber team and after half a day of playing around, I noticed the following differences:

Better points:

  • the feature-to-glue smart navigation works (go to definition) better for this plugin in my experience. the CGFS smart navs behaves clunky sometimes for reasons i can't really figure out.
  • other features like auto complete, step suggestions are also better than CGFS

Can be improved:

  • this plugin provides 3 options and none of em are for formatting. i really liked this setting from CGFS that allows auto indents for certain keywords.
    • image
  • there are no textmate rules that comes with the plugin, further limiting the formatting, samples below:

I'd really like to use this because of the better smart navs and auto complete but I wish we can get formatting capabilities too.

I tried activating both plugins and noticed they don't play well together. Even with other Cucumber plugins that just provide better syntax highlighting.

✨ What's your proposed solution?

  • Expose options for formatting, similar to how CGFS does. even just the indents will be game changer.
  • Expose TextMate settings that users can play around with.

⛏ Have you considered any alternatives or workarounds?

  • Tried poking around the installed extension under .vscode to see if I can do quick hacks and maybe raise a pull request but none worked
  • Tried installing other Cucumber syntax plugins but the either the highlighting doesnt work or the smart navs break. I couldnt get both working.

📚 Any additional context?

No response

@kieran-ryan
Copy link
Member

kieran-ryan commented Jul 6, 2024

Thanks for your interest in the project @iamkenos!

Would you be able to advise whether your requests are covered under the following issues, and perhaps to capture any requirements under those issues which are not already captured?

  • Tried poking around the installed extension under .vscode to see if I can do quick hacks and maybe raise a pull request but none worked

Would certainly be interested to support you in contributing. Suggest to try out the contributing guide and advise how you get on. Even small or partial MRs can really help move a request towards release - particularly as we are heavily reliant on drop-in contributions from our community.

@kieran-ryan kieran-ryan added the 🍼 incomplete Blocked until more information is provided label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍼 incomplete Blocked until more information is provided
Projects
None yet
Development

No branches or pull requests

2 participants