0

Extensions I have

VS Code version

Options I am getting when I am right-clicking variables

Parsing progress indicator

All of the above might be related to one problem, I installed Windows 11 from Windows 10 and I open VS Code and I am not able to enable tag parser

settings.json file below:

{
   "files.associations": {
      "systemconfig.h": "c"
  },
  "editor.definitionLinkOpensInPeek": false,
  "workbench.colorTheme": "Default Dark+",
  "workbench.preferredDarkColorTheme": "Default Dark+",
  "extensions.closeExtensionDetailsOnViewChange": true,
  "C_Cpp.autocompleteAddParentheses": true,
  "C_Cpp.inlayHints.autoDeclarationTypes.enabled": false,
  "C_Cpp.intelliSenseEngine": "default",
  "C_Cpp.intelliSenseEngineFallback": "enabled",
  "C_Cpp.workspaceSymbols": "All",
  "editor.multiCursorModifier": "ctrlCmd"
}

I was expecting to have tag parsers. I uninstalled and re-installed extensions and vscode, it didn't help

4
  • 2
    Which "tags" were you referring to? That word can match too many things. Commented Jul 16, 2024 at 3:38
  • I am referring to variable tagging to its definition. Before installing Windows 11 everything was fine. I was able to F10 or right click "Go To Definition" or "Ctrl+Left clicking" and was navigated successfully. After installing windows 11, the variables are not color-coded anymore, meaning the definitions are not linked. I made all the changes on intellisense I could find online, didn't help. Not sure what I am missing Commented Jul 16, 2024 at 23:11
  • By changing the operating system, your C++ toolset can be easily broken and requires some manual fixes. That won't be an easy task but you should get started from Microsoft C++ extension logging, code.visualstudio.com/docs/cpp/enable-logging-cpp to see what's wrong with the language server. Commented Jul 16, 2024 at 23:26
  • Idk what changed, but after a few days, it started populating tags and variable links on its on. Maybe it was an msft update or there is another process initialization involved as part of loading links Commented Jul 31, 2024 at 18:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.