Skip to content

how do I stop rust enhanced formatting code? #538

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

Open
LAC-Tech opened this issue Dec 23, 2024 · 1 comment
Open

how do I stop rust enhanced formatting code? #538

LAC-Tech opened this issue Dec 23, 2024 · 1 comment

Comments

@LAC-Tech
Copy link

I uninstall rust enhanced, edit a file, save it, the file is formatted (I get a "reloading" command in the console).

if I uninstall rust enahcned, no formatting happens when the file is reloaded.

The docs suggest this should not be happening.

https://rust-lang.github.io/rust-enhanced/formatting.html

@ehuss
Copy link

ehuss commented Dec 30, 2024

Sorry, I don't quite understand. The first two sentences both say if you "uninstall rust enhanced", I'm not sure if there's a typo there or not.

I'm also not quite clear what is meant by "when the file is reloaded". How is the file being reloaded?

Regardless, this extension doesn't do formatting, so it is likely you have another extension doing that. You may want to check if you have a RustFmt extension or LSP running.

One way to debug which extension is running is to enter sublime.log_commands(True) in the Sublime console window.

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

No branches or pull requests

2 participants