Skip to content

Indent function arguments #1993

@voidtrance

Description

@voidtrance

I am not sure whether this should be a bug report or a feature request, so I am not entirely sure what information to include.

I am using:

  • VSCode 1.23.1
  • C/C++ extension: 0.17.0
  • C++ Intellisense 0.2.2
  • C/C++ Clang Command Adapter 0.2.2

The issue that I am having is that function arguments, which span multiple lines are not indented properly. What I would expect is this:

function_call(arg1, arg2, arg3,
              arg4, arg5);

What I get is this:

function_call(arg1, arg2, arg3,
arg4, arg5);

If I were to use the Tab key to indent the second argument line, I can't indent to the correct spot without doing it manually (Hit Tab until I get close and then hit Space until aligned).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions