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

Improper work in the .vue files #55

Open
KerkDovan opened this issue Apr 7, 2022 · 0 comments
Open

Improper work in the .vue files #55

KerkDovan opened this issue Apr 7, 2022 · 0 comments
Assignees
Labels

Comments

@KerkDovan
Copy link

Sometimes extension improperly finds or does not find regex in the Single-File Components (.vue files) inside the <template></template> tags.

image

Code from the screenshot
<template>

  <div>
    True negatives: cases, when there is no regex and extension doesn't find any
    <div></div> / test
    <div></div> /test
    <br/> / test
    <br /> /test
    //  test  /
  </div>

  <div>
    True positives: cases, when there is regex and extension finds them
    {{/test/}}
    {{ /test/ }}
  </div>

  <div>
    False positives: cases, when there is no regex, but extension finds them
    <br /> / test
    /  test  /
  </div>

  <div>
    False negatives: cases, where there is regex, but extension doesn't find them
    <button @click="/test/"></button>
  </div>

</template>
@chrmarti chrmarti self-assigned this Apr 8, 2022
@chrmarti chrmarti added the bug label Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants