Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor’s autocomplete suggests closing tags that have no matching opening tag in the file.
Steps to Reproduce
Open a Vue file that contains no <ComponentName> tag
Type or trigger autocomplete
Cursor suggests </ComponentName> even though <ComponentName> was never opened
Expected Behavior
Autocomplete should only suggest closing tags for tags that have been opened in the current file.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.69 (Universal)
Additional Information
Actual Behavior:
Autocomplete suggests closing tags for components that don’t exist in the file, likely due to similar component names elsewhere in the codebase (e.g., BottomSheet vs InfoSheet).
Example:
A file contains:
<template>
<Clickable>
<!-- content → </Clickable></template>
But autocomplete suggests </BottomSheet> which has no opening tag.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor