I want to exclude a file from being reformatted, but the scope window is empty
Answered
Settings > Editor > Code Style > Formatter Control > Do not format, optimize imports, arrange code
When adding a new shared or local scope, the window just tells me that there's "Nothing to show" when project is selected, and there are just three empty directories when packages is selected.
Please sign in to leave a comment.
Hello,
You need to choose "Project" code style scheme if you want to access project directories. That's because "Default" code style scheme applies to multiple projects at a time and is unaware of any specific projects. It allows you to specify only generic file patterns.
Please vote for the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-201897