Other extensions you installed (and if the issue persists after disabling them): None
If using SSH remote, specify OS of remote machine: Ubuntu 22.04 5.10.102.1-microsoft-standard-WSL2 (using WSL remote)
A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).
When adding a requires-clause to a class member function, if the constraints are not wrapped in parenthesis then code folding does not work on the function body. The arrow to fold is missing from the editor. Using keyboard shortcuts to fold code sections also does not work.
The workspace is a single, small project with a few header files.
Bug Summary and Steps to Reproduce
Bug Summary:
Member function requires-clause without parenthesis prevents code folding.
Steps to reproduce:
Create a C++ file in the editor.
Write a template class with a member function.
Add a requires-clause to the member function without parenthesis.
Code folding arrow is missing from function body.
Expected behavior
A code folding arrow should appear next to the line number of the opening brace of the function body, allowing me to collapse this code section.
Environment
When adding a requires-clause to a class member function, if the constraints are not wrapped in parenthesis then code folding does not work on the function body. The arrow to fold is missing from the editor. Using keyboard shortcuts to fold code sections also does not work.
The workspace is a single, small project with a few header files.
Bug Summary and Steps to Reproduce
Bug Summary: Member function requires-clause without parenthesis prevents code folding.
Steps to reproduce:
Expected behavior
A code folding arrow should appear next to the line number of the opening brace of the function body, allowing me to collapse this code section.
Code sample and Logs
Code sample:
c_cpp_properties.json
:Screenshots
No folding arrow:
Folding arrow:
Additional context
No response