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

The mix_format_file command is not showing error details on the panel #65

Open
danilokleber opened this issue Aug 17, 2023 · 4 comments

Comments

@danilokleber
Copy link

If formatting fails it does not show the output details for a quick reference on what to fix.

I noticed that the build Elixir - mix format FILE shows it just right.

Thanks for the attention.

@azizk
Copy link
Collaborator

azizk commented Aug 17, 2023

Could it be that your key binding unintentionally runs lsp-elixir's formatter?
Please check the console (Ctrl+` ) and see if it says ElixirSyntax: Formatting 'some_file.ex'! when you press your shortcut keys. Let's see what messages you get in the console. 🙂

@danilokleber
Copy link
Author

I don't have LSP installed and I get the ElixirSyntax: Formatting 'some_file.ex'! message.

@azizk
Copy link
Collaborator

azizk commented Aug 17, 2023

That's strange. Don't know what the problem could be atm.

@danilokleber
Copy link
Author

Indeed. To add a bit more, I had previously uninstalled the elixir-tmbundle package as this one serves me well enough. Then I missed some snippets from that package and reinstalled it. To my surprise the errors are showing back again. But I guess the formatter command from your package is not being used anymore. If I set the format on save setting on, I see the panel without the output like when I had just your package on. The console message also do not show the ElixirSyntax: Formatting 'some_file.ex'! message when using the key binding.

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