Skip to content

Make auto indent depend on formatOnType setting value - #20490

Merged
Karthik Nadig (karthiknadig) merged 1 commit into
microsoft:release/2022.20from
karthiknadig:cherry2
Jan 11, 2023
Merged

Karthik Nadig (karthiknadig) merged 1 commit into
microsoft:release/2022.20from
karthiknadig:cherry2

Conversation

@karthiknadig

Copy link
Copy Markdown
Member

For #20479

Another fix for recovery release.

@karthiknadig Karthik Nadig (karthiknadig) added the bug Issue identified by VS Code Team member as probable bug label Jan 11, 2023
@karthiknadig Karthik Nadig (karthiknadig) added the skip tests Updates to tests unnecessary label Jan 11, 2023
@karthiknadig
Karthik Nadig (karthiknadig) merged commit 8ac655b into microsoft:release/2022.20 Jan 11, 2023
return formatOnTypeEffectiveValue;
}

private async isInAutoIndentExperiment(): Promise<boolean> {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're still checking for inExperiment, so can you clarify how are we making sure this is enabled for all users? cc/ Luciana Abud (@luabud)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to enable this to all users, just those who explicitly enable format on type. If they don't have it enabled, we still want only those who are in the experiment to experience it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants