microsoft / microsoft/vscode-cpptools
Document symbols can be missing if an unmatched { is in an inactive region
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Environment
- OS and version: windows 10
- VS Code: 1.67.2
- C/C++ extension: v1.11.2
- OS and version of remote machine (if applicable):ubuntu
- GDB / LLDB version:
Bug Summary and Steps to Reproduce
Bug Summary:
-
when openning a source code from remote ubuntu, it uses a long time to loading symbols, and then can not find the symbols with Ctrl+shift+O.
-
after loading the symbols for some time, it will lost the symbols until loading again
-
if I add a new function, outline can not load the function symbols
-
some functions can not be loaded, but I can not find the cause, may be like this code in the function:
#if xxx #if xxx #endif #endif
Debugger Configurations
null
Debugger Logs
null
Other Extensions
No response
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the missing document symbols through Ctrl+Shift+O and the outline view using an unmatched { inside an inactive region. Compare symbol loading before and after adding a function, and consider the issue resolved when all expected document symbols remain available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100