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

Provide multiple quick fix options with substitution rule #7

Open
goerks opened this issue Jul 10, 2023 · 0 comments
Open

Provide multiple quick fix options with substitution rule #7

goerks opened this issue Jul 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@goerks
Copy link

goerks commented Jul 10, 2023

Given the following rule

extends: substitution
message: Use '%s' instead of '%s'
level: error
ignorecase: true
action:
  name: replace
swap:
  whatif: what if|options|more

When hover over text whatif
image
Then I expect the substitutions are what if, options and more 🆗
And I expect a list with these quick fixes what if, options and more
image

Current behavior

  • The first substitution string is contained twice

Expected behavior

  • Three quick fixes are shown in this order
    1. what if
    2. options
    3. more

Environment

  • Windows 10
  • VSCode 1.79.2
  • Vale VSCode v0.17.3
@ChrisChinchilla ChrisChinchilla self-assigned this Aug 17, 2023
@ChrisChinchilla ChrisChinchilla added the enhancement New feature or request label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants