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

Log when trying to format files outside of workspace #2853

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Nov 14, 2024

Motivation

We were having trouble figuring out why formatting wasn't working properly for some Emacs users. It turns out that Emacs wasn't setting the workspace URI, which makes us consider every file as external and thus we don't format them (to prevent accidentally formatting gems for example).

Let's log when this is happening so that understanding the situation is easier.

@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Nov 14, 2024 — with Graphite App
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock marked this pull request as ready for review November 14, 2024 21:29
@vinistock vinistock requested a review from a team as a code owner November 14, 2024 21:29
@vinistock vinistock merged commit 27c6af7 into main Nov 14, 2024
38 checks passed
@vinistock vinistock deleted the 11-14-log_when_trying_to_format_files_outside_of_workspace branch November 14, 2024 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
other Changes that aren't bugfixes, enhancements or breaking changes server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants