vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

jump wrong line , Intellisense mouse hover display error

Open cjr163 opened this issue 2 years ago • 7 comments

Hi,My english is bad, I use translation software,Thank you for checking my question, I will add pictures and instructions after the work is finished tomorrow. Jump wrong line in .h or .hpp file , Intellisense mouse hover display error, and new feature "editor.experimental.stickyScroll.enabled": true, Error line displayed. When the number of lines exceeds 600, Maybe 512 lines ,Usually I don't have more than 500 lines per file,Even jump the wrong line, Usually within 30 lines up or down, So there's not too much trouble. I remember having this problem since 2019, Whether it's Keil, IAR, GCC project. I looked at some of the Issues, Tomorrow I'll try C/C++: Reset IntelliSense Database, But I don't think it will work,Because this problem always arises when you have too many rows,Copying the project to another folder does not work either.

If you understand the problem, please give me some hints, or how can I better describe the problem

cjr163 avatar Aug 29 '22 16:08 cjr163

Yeah, we need more info. I'm not able to repo the issue or understand what is going wrong (there could be multiple issues).

sean-mcmanus avatar Aug 29 '22 23:08 sean-mcmanus

g111 g222 g333

cjr163 avatar Aug 30 '22 08:08 cjr163

Later I put the project on Github

cjr163 avatar Aug 30 '22 08:08 cjr163

g444 g555 g666

cjr163 avatar Aug 30 '22 08:08 cjr163

g777

Even do not change the number of lines, Only the number of char in the string is changed, the jump to the wrong line will change.

So I think it's the number of char that's wrong, not the number of lines

cjr163 avatar Aug 30 '22 09:08 cjr163

https://github.com/cjr163/bug_issues This is the project when the picture was taken, no changes were made

cjr163 avatar Aug 30 '22 10:08 cjr163

g888 Try this directive after you push it to Github C/C++: Reset IntelliSense Database ,it's work ,But I don't know if it's gonna happen again

cjr163 avatar Aug 30 '22 10:08 cjr163

Does this bug still repro after the database was reset?

sean-mcmanus avatar Oct 03 '22 17:10 sean-mcmanus

This issue has been closed because it needs more information and has not had recent activity.

github-actions[bot] avatar Dec 19 '22 11:12 github-actions[bot]