-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
IntelliSense Include suggestion leaves extra '>' symbol #11042
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
Milestone
Comments
ImaginaryExponent
changed the title
Include suggestion leaves extra '>' symbol
IntelliSense Include suggestion leaves extra '>' symbol
Jun 3, 2023
Thank you for reporting this issue. It didn't always happen for me. When it did, it seemed to be because there was a |
bobbrow
added
the
fixed
Check the Milestone for the release in which the fix is or will be available.
label
Jun 27, 2023
Fix available in pre-release https://github.com/microsoft/vscode-cpptools/releases/tag/v1.17.0. |
Tested on the v1.17.0 preview, looks good. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
While editing
#include <|>
lines, if IntelliSense provides suitable hint, applying that hint via Tab or Enter sometimes introduces an extra closing angle bracket.Steps to reproduce:
#include <fld1/fld2/hdr2.h>
#include
line to#include <fld1/hdr1.h>
. Use IntelliSense suggestion when it is offered.#include <fld1/hdr1.h>>
. Note the second>
.Expected behavior:
The
>
symbol is not inserted where not needed.Most frequently this happens when the new
#include <>
path is shorter than the existing one. Like if some string IntelliSense composes is one character too long and copies extra>
or on the contrary, one character too short and does not see the existing>
.Configuration and Logs
Other Extensions
CMake Microsoft extension,
CMake Tools extension
Additional context
No response
The text was updated successfully, but these errors were encountered: