Skip to content

Conversation

davidwengier
Copy link
Member

Fixes #7025

Turns out in the old options screen we weren't setting two of the options to honour user choices, and we were also clobbering their choice for one of them every time the screen opened.

@davidwengier davidwengier requested a review from a team as a code owner February 13, 2025 22:26
}

if (_commitElementsWithSpace is not null)
if (_codeBlockBraceOnNextLine is not null)
Copy link
Member Author

Choose a reason for hiding this comment

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

The diff looks bad here, but what really happened was I moved _commitElementsWithSpace above, so the ordering was consistent everywhere in the file, then added the code for _codeBlockBraceOnNextLine

@davidwengier
Copy link
Member Author

/backport to release/dev17.13

Copy link

Started backporting to release/dev17.13: https://github.com/dotnet/razor/actions/runs/13318461775

Copy link

@davidwengier an error occurred while backporting to "release/dev17.13", please check the run log for details!

Error: @davidwengier is not a repo collaborator, backporting is not allowed. If you're a collaborator please make sure your dotnet team membership visibility is set to Public on https://github.com/orgs/dotnet/people?query=davidwengier

@davidwengier
Copy link
Member Author

/backport to release/dev17.13

Copy link

Started backporting to release/dev17.13: https://github.com/dotnet/razor/actions/runs/13318478070

@davidwengier davidwengier merged commit 579f384 into dotnet:main Feb 13, 2025
12 checks passed
@davidwengier davidwengier deleted the FixFormatOnPaste branch February 13, 2025 23:34
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Feb 13, 2025
davidwengier added a commit that referenced this pull request Feb 14, 2025
…11487)

Backport of #11486 to release/dev17.13

/cc @davidwengier

## Customer Impact

## Regression

- [ ] Yes
- [x] No

[If yes, specify when the regression was introduced. Provide the PR or
commit if known.]

## Testing

[How was the fix verified? How was the issue missed previously? What
tests were added?]

## Risk

[High/Medium/Low. Justify the indication by mentioning how risks were
measured and addressed.]
@jjonescz jjonescz modified the milestones: Next, 17.14 P2 Mar 11, 2025
JoeRobich added a commit to dotnet/roslyn-tools that referenced this pull request Mar 15, 2025
Noticed that we were not removing PR numbers when [fixing up the C# ext.
CHANGELOG](dotnet/vscode-csharp#8071). Leaving
the PR number in allows GH to turn it into a link when the number is in
the range to be valid.

BEFORE:

* React to NuGet package pruning warnings (#11496) (PR:
[#11496](dotnet/razor#11496))
* Add a couple of "stress tests" to the integration test project
(#11481) (PR: [#11481](dotnet/razor#11481))
* Fix a couple of options in the old options screen (#11486) (PR:
[#11486](dotnet/razor#11486))
* Don't use Directory.Exists to check if a path is relative (#11483)
(PR: [#11483](dotnet/razor#11483))
* Fix another IDE0040 violation (#11474) (PR:
[#11474](dotnet/razor#11474))
* Remove accessibility modifiers from interface members (#11472) (PR:
[#11472](dotnet/razor#11472))

AFTER:

* React to NuGet package pruning warnings (PR:
[#11496](dotnet/razor#11496))
* Add a couple of "stress tests" to the integration test project (PR:
[#11481](dotnet/razor#11481))
* Fix a couple of options in the old options screen (PR:
[#11486](dotnet/razor#11486))
* Don't use Directory.Exists to check if a path is relative (PR:
[#11483](dotnet/razor#11483))
* Fix another IDE0040 violation (PR:
[#11474](dotnet/razor#11474))
* Remove accessibility modifiers from interface members (PR:
[#11472](dotnet/razor#11472))
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.

Add option to turn off Format on Paste
3 participants