krasa / EclipseCodeFormatter

IntelliJ plugin - use Eclipse's code formatter directly from IntelliJ. https://plugins.jetbrains.com/plugin/6546
Apache License 2.0
484 stars 118 forks source link

error failed to format with Adapter for Eclipse Code Formatter. Configured settings file does not exist, path="" #259

Open amineacher opened 1 year ago

amineacher commented 1 year ago

What steps will reproduce the issue? provoking the formatting : using the save trigger for triggering the formatting, shows an error about the empty path of the formatting file even if the formatting file exists

image

Even using the default formatter shows the same error

What is the expected result?

The formatting to be executed.

What happens instead? the following:

image

Сonsider attaching a screenshot, screencast, or a code sample when it's hard to articulate the problem.

Paste information about IDE and OS (it can be copied from Help | About dialog).

image

macOS

image

Please use triple backticks ``` before and after the stacktrace block.

thank you

krasa commented 1 year ago

what about this? image

amineacher commented 1 year ago

Thank you @krasa it worked by setting the profile.. can you please explain why having the profile plus the setting the file is necessary... thank you

krasa commented 1 year ago

The profile is for managing the plugin config, the setting file is for the eclipse formatter itself.