Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch case indentation bug #4

Open
oomek opened this issue Sep 22, 2021 · 1 comment
Open

switch case indentation bug #4

oomek opened this issue Sep 22, 2021 · 1 comment

Comments

@oomek
Copy link

oomek commented Sep 22, 2021

Type the following:

switch( idx )
{
	case 1:
		break;
	case 2:
		break;
}

Go to the beginning of line case 2: and press enter

Result:

switch( idx )
{
	case 1:
		break;

		case 2:
		break;
}

Expected:

switch( idx )
{
	case 1:
		break;

	case 2:
		break;
}
@oomek
Copy link
Author

oomek commented Sep 22, 2021

I have the Editor: Auto Indent set to full
Every other mode does not automatically add the required amount of tabs on a new line when I press tab once

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant