EditorGuidelines icon indicating copy to clipboard operation
EditorGuidelines copied to clipboard

Feature request: Default guideline at ColumnLimit from clang-format

Open johnplate opened this issue 4 years ago • 0 comments

You already support .editorconfig, so I wonder if you could support a default guideline at the ColumnLimit from clang-format.

I'm not sure about the detailed implementation, for example when to enable it and how to query the configured ColumnLimit. I would for sure enable it if a .clang-format (or _clang-format) file is found in the path which explicitly specifies a ColumnLimit for the current programming language. It would also be possible to query it by calling clang-format -dump-config in the directory of the currently opened file, which would also include an implicitly defined ColumnLimit.

johnplate avatar Apr 16 '21 14:04 johnplate