We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--
This extension's embedded view erases words after two consecutive double quotes (--) of every comment.
These two comment lines on a python file ↓
Appear as the below on the embedded view ↓
Which config do I need to change to stop the view truncating words after --?
Environment: VSCode:
Extension: v4.18.4
The text was updated successfully, but these errors were encountered:
I think perhaps because the extension thinks that's the start of a comment.
The setting to change should be this one:
"todo.embedded.regex": "(?:<!-- *)?(?:#|// @|//|/\\*+|<!--|--|\\* @|\\{!|\\{\\{!--|\\{\\{!) *(TODO|FIXME|FIX|BUG|UGLY|HACK|NOTE|IDEA|REVIEW|DEBUG|OPTIMIZE)(?:\\s*\\([^)]+\\))?:?(?!\\w)(?: *-->| *\\*/| *!}| *--}}| *}}|(?= *(?:[^:]//|/\\*+|<!--|@|--|\\{!|\\{\\{!--|\\{\\{!))|((?: +[^\\n@]*?)(?= *(?:[^:]//|/\\*+|<!--|@|--(?!>)|\\{!|\\{\\{!--|\\{\\{!))|(?: +[^@\\n]+)?))", // Regex used for finding embedded todos, requires double escaping
Maybe you can just replace |--| with | 🤔
|--|
|
Sorry, something went wrong.
I replaced both of |--| with | and reload the VSCode, but unfortunately, it didn't work.
"todo.embedded.regex": "(?:<!-- *)?(?:#|// @|//|/\\*+|<!--|\\* @|\\{!|\\{\\{!--|\\{\\{!) *(TODO|FIXME|FIX|BUG|UGLY|HACK|NOTE|IDEA|REVIEW|DEBUG|OPTIMIZE)(?:\\s*\\([^)]+\\))?:?(?!\\w)(?: *-->| *\\*/| *!}| *--}}| *}}|(?= *(?:[^:]//|/\\*+|<!--|@|\\{!|\\{\\{!--|\\{\\{!))|((?: +[^\\n@]*?)(?= *(?:[^:]//|/\\*+|<!--|@|--(?!>)|\\{!|\\{\\{!--|\\{\\{!))|(?: +[^@\\n]+)?))"
Maybe it was another regex, can you try with: "todo.embedded.providers.ag.regex" and "todo.embedded.providers.rg.regex"? Same edit
No branches or pull requests
This extension's embedded view erases words after two consecutive double quotes (
--
) of every comment.These two comment lines on a python file ↓
Appear as the below on the embedded view ↓
Which config do I need to change to stop the view truncating words after
--
?Environment:
VSCode:
Extension: v4.18.4
The text was updated successfully, but these errors were encountered: