Skip to content

False positives with then→than #720

@hippietrail

Description

@hippietrail

Describe the bug
In some contexts a correct "then" is flagged and incorrect "than" is suggested.

To Reproduce
Steps to reproduce the behavior:

  1. Paste in "And if just one of those is set incorrectly or it has the tiniest bit of dirt inside then that will wreak havoc with the engine's running ability."
  2. Notice that this "then" connects a consequence of an earlier "if" with a result.
  3. Hover over the flagged "then" and see it wants to replace it with "than", which won't make sense in this context.
  4. Another example is "So let’s check it out then."

Expected behavior
No error flagged.

Screenshots
Image
Image

Image Image

Platform
VS Code, Windsurf

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions