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

Trigger reparsing when files.encoding setting changes #13047

Merged
merged 7 commits into from
Dec 16, 2024

Conversation

Colengms
Copy link
Contributor

Fixes: #10892

This is a simple fix which will reindex the database if files.encoding changes. It's possible to do a more granular reparse of only those files that would have been impacted by the change. A related issue with that may be: microsoft/vscode#209503 (comment)

There is a native-side change as well.

@Colengms Colengms marked this pull request as ready for review December 14, 2024 02:02
@Colengms Colengms requested a review from a team as a code owner December 14, 2024 02:02
sean-mcmanus
sean-mcmanus previously approved these changes Dec 14, 2024
@Colengms Colengms merged commit fbf8135 into main Dec 16, 2024
6 checks passed
@Colengms Colengms deleted the coleng/reparse_files_when_encoding_changes branch December 16, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Changes to files.encoding should trigger purge/reparse of all files (without BOM) in DB
2 participants