Skip to content

Open the modified header for 'Extract to function'.#11670

Merged
sean-mcmanus merged 2 commits into
mainfrom
seanmcm/fixExtractToFunctionHeaderNotOpeningOrFormatting
Nov 13, 2023
Merged

Open the modified header for 'Extract to function'.#11670
sean-mcmanus merged 2 commits into
mainfrom
seanmcm/fixExtractToFunctionHeaderNotOpeningOrFormatting

Conversation

@sean-mcmanus
Copy link
Copy Markdown
Contributor

@sean-mcmanus sean-mcmanus commented Nov 13, 2023

Fixes #11669 (formatting not working if the header wasn't open). Also, fix the issue where the header would change and never open (if files.refactoring.autoSave were enabled), so users may not realize the file had change (unless they viewed a source control diff).

@sean-mcmanus sean-mcmanus requested a review from a team November 13, 2023 23:01
@sean-mcmanus sean-mcmanus merged commit 5325b37 into main Nov 13, 2023
@sean-mcmanus sean-mcmanus deleted the seanmcm/fixExtractToFunctionHeaderNotOpeningOrFormatting branch November 13, 2023 23:13
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'Extract to function' header isn't formatted if the header file is not already open

2 participants