Request for formatting options and textmate grammar
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
### 🤔 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](https://marketplace.visualstudio.com/items?itemName=alexkrechik.cucumberautocomplete) 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.
- 
- there are no textmate rules that comes with the plugin, further limiting the formatting, samples below:
- this existing issue: https://github.com/cucumber/vscode/issues/89
- unable to colorize comments:
- 
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_
Contributor guide
Assessment
This issue has not been assessed yet.