Skip to content

Smart indent not placing closing brace under opening brace #2

@eranif

Description

@eranif

Smart indentation is always indenting closing braces with one tab more than it should:
If you write:

if (whatever)
{}

Then if you press between opening and closing brace:

if (whatever)
{[ENTER]}

Result is:

if (whatever)
{
[TAB]}

I would prefer smart indent to use my settings from code formatter plug-in. Why not use astyle to format code as you type? Maybe you use astyle but the context is too small?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions