Skip to content
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

Incorrect red squiggly lines formed when syntax is correct #6226

Closed
Mindjolt2406 opened this issue Sep 29, 2020 · 5 comments
Closed

Incorrect red squiggly lines formed when syntax is correct #6226

Mindjolt2406 opened this issue Sep 29, 2020 · 5 comments
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service verified Bug has been reproduced Visual Studio Inherited from Visual Studio
Milestone

Comments

@Mindjolt2406
Copy link

Screenshot 2020-09-29 at 6 29 20 PM

@sean-mcmanus sean-mcmanus added the more info needed The issue report is not actionable in its current state label Sep 29, 2020
@sean-mcmanus
Copy link
Collaborator

We need more info. Such as sample repro code and/or what the error message say. I can't even tell if the errors are from our extension or not.

@Mindjolt2406
Copy link
Author

Mindjolt2406 commented Sep 30, 2020

Bug Report.zip
This is my code. I believe the error is in linking different files. It's not recognising the methods in the structs located in other files for some reason. This behaviour is surprising because it just stopped working all of a sudden.

OS: MacOS
OS Version: 10.14.6

VS Code Details
Version: 1.49.2
Commit: e5e9e69aed6e1984f7499b7af85b3d05f9a6883a
Date: 2020-09-24T16:23:52.277Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 18.7.0

Extension Version Number: v1.0.1
Other extensions installed

  1. Bash Beautify (shakram02.bash-beautify)
  2. Docker (ms-azuretools.vscode-docker)
  3. Live-Share by Microsoft (ms-vsliveshare.vsliveshare)
  4. OCaml hackwaly.ocaml
  5. StarDog RDF Grammars (stardog-union.stardog-rdf-grammars)
  6. vs-code pdf (tomoki1207.pdf)

I can attest that it is from the ms-vscode.cpptools extension, because disabling it removes the squiggles. Restarting VS Code, deleting and reinstalling the extension does not help. I've attached the snapshots of the problems. Please do let me know what other information I can provide. My code is compiling successfully and can be compiled by running g++ -std=c++14 main.cpp

Screenshot 2020-09-30 at 11 42 06 AM

@sean-mcmanus sean-mcmanus self-assigned this Oct 1, 2020
@sean-mcmanus sean-mcmanus added bug investigate: repro This issue's repro steps needs to be investigated/confirmed Language Service regression A bug that didn't exist in a previous release and removed more info needed The issue report is not actionable in its current state labels Oct 1, 2020
@bobbrow bobbrow added this to the 1.1.0 milestone Oct 1, 2020
@sean-mcmanus
Copy link
Collaborator

Thanks for reporting this. I've filed a bug on VS (for our shared code) at https://developercommunity.visualstudio.com/content/problem/1207039/c-intellisense-gives-a-bunch-of-invalid-class-has.html .

@sean-mcmanus sean-mcmanus added Visual Studio Inherited from Visual Studio and removed investigate: repro This issue's repro steps needs to be investigated/confirmed regression A bug that didn't exist in a previous release labels Oct 1, 2020
@sean-mcmanus sean-mcmanus modified the milestones: 1.1.0, Tracking Oct 1, 2020
@sean-mcmanus sean-mcmanus removed their assignment Oct 1, 2020
@sean-mcmanus sean-mcmanus added more info needed The issue report is not actionable in its current state not reproing We're not able to reproduce the issue (it's unlikely to get fixed until we find one). labels Feb 22, 2022
@sean-mcmanus sean-mcmanus removed this from the Tracking milestone Feb 22, 2022
@sean-mcmanus sean-mcmanus added verified Bug has been reproduced and removed more info needed The issue report is not actionable in its current state not reproing We're not able to reproduce the issue (it's unlikely to get fixed until we find one). labels Feb 22, 2022
@sean-mcmanus sean-mcmanus added this to the Tracking milestone Feb 22, 2022
@sean-mcmanus
Copy link
Collaborator

The linked VS bug got closed, but I've filed a new bug internally (1487635).

@sean-mcmanus sean-mcmanus modified the milestones: Tracking, 1.10 May 5, 2022
@sean-mcmanus sean-mcmanus modified the milestones: 1.10, 1.10.3 May 18, 2022
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label May 18, 2022
@sean-mcmanus
Copy link
Collaborator

This is fixed with 1.10.3 (pre-release).

@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2022
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 verified Bug has been reproduced Visual Studio Inherited from Visual Studio
Projects
None yet
Development

No branches or pull requests

3 participants