Update default clang-format style to format "> >" correctly based on cppStandard #3578
Labels
Feature: Code Formatting
Feature Request
fixed
Check the Milestone for the release in which the fix is or will be available.
Language Service
quick fix
Milestone
Type: LanguageService
Describe the bug
Version: 1.33.1 (system setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 6.1.7601
Version 0.22.1
std::vector<std::set<int> > my_vector;
is automatically corrected to:
std::vector<std::set<int>> my_vector;
The latter is illegal (at least before C++ 11) and throws the error:
error: '>>' should be '> >' within a nested template argument list
To Reproduce
std::vector<std::set<int> > my_vector;
Expected behavior
That the space between
> >
would not be removed in cases such as this.Screenshots
Additional context
The text was updated successfully, but these errors were encountered: