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

Ship the "tall-style" experiment. #1578

Merged
merged 3 commits into from
Oct 14, 2024
Merged

Ship the "tall-style" experiment. #1578

merged 3 commits into from
Oct 14, 2024

Conversation

munificent
Copy link
Member

This PR does a few things:

  • Remove the "tall-style" experiment flag and treat it as always enabled.

  • Use language version instead of the experiment flag to determine which style you get. If the version is 3.7 or higher, you get the tall style. Otherwise, you get the short style.

  • Clean up the CHANGELOG.md and README.md a bit. I'll probably do some more copy editing on them before this gets published, but I wanted to get things roughly in order.

cc @leafpetersen @mit-mit

This PR does a few things:

- Remove the "tall-style" experiment flag and treat it as always enabled.

- Use language version instead of the experiment flag to determine which style you get. If the version is 3.7 or higher, you get the tall style. Otherwise, you get the short style.

- Clean up the CHANGELOG.md and README.md a bit. I'll probably do some more copy editing on them before this gets published, but I wanted to get things roughly in order.
test('no options search if page width is specified on the CLI', () async {
await d.dir('foo', [
analysisOptionsFile(pageWidth: 20),
d.file('main.dart', _unformatted),
]).create();

var process = await runFormatterOnDir([
'--language-version=latest', // Error to not have language version.
Copy link
Member Author

Choose a reason for hiding this comment

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

These --language-version=latest lines were no longer necessary as of #1573, but I forgot to clean them up in that PR.

CHANGELOG.md Outdated Show resolved Hide resolved
@munificent munificent merged commit 154537e into main Oct 14, 2024
7 checks passed
@munificent munificent deleted the ship-tall-style branch October 14, 2024 21:50
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

Successfully merging this pull request may close these issues.

2 participants