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

cucumberautocomplete.skipDocStringsFormat does not support multi line doc string input yaml #464

Open
andytang-ast opened this issue Apr 18, 2023 · 0 comments

Comments

@andytang-ast
Copy link

Describe the bug
cucumberautocomplete.skipDocStringsFormat does not support multi line doc string input yaml

To Reproduce

  1. Have a json string use tool (e.g. https://codebeautify.org/json-to-yaml) to covert it to yaml
  2. Disable cucumberautocomplete.skipDocStringsFormat
  3. On VS Code, having Cucumber code using multi line doc string input
    When enter Doc String
    """
    json string
    """
    
  4. It will auto fix the format and indent on file save.
  5. On VS Code, having same code on Step-3. but using yaml string from Step-1.
    When enter Doc String
    """
    yaml string
    """
    
  6. It will NOT auto fix the format and worse, it will remove the format and indent if it's given in the first place.

Expected behavior
It will check the yaml error, or least not removing the yaml format

Screenshots
N/A

Cucumberautocomplete part of VSCode settings:

  		"cucumberautocomplete.steps": [
			"./steps/**/*.ts"
		],
		"cucumberautocomplete.strictGherkinCompletion": true,
		"cucumberautocomplete.syncfeatures": "./features/**/*feature",
		

Step definition:
N/A

Gherkin step line
See Reproduce above

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

No branches or pull requests

1 participant