Try to exclude files before committing
Hi,
if I commit to the repository the formatter changed unwanted a sql file in the background. Now I want to exclude this file.
Even I found some entries and the read the documentation, I'm not able to get it to run correct.
https://www.jetbrains.com/help/idea/reformat-and-rearrange-code.html#exclude_file_from_reformat
In one of my projects is a Maven project with the path /src/test/resources/file.sql.
First the IDE asks of local or shared? What should I choose?
I decided local.
The name is myScope and the pattern is: file:* .sql accordingly to the given example
I can choose package or projects. No idea what the difference and what is recommended.
If I choose packages test I got file:* .sql||test:*..*
What is the correct way and syntax to exclude sql files?
Thanks in advance.
Markus
Please sign in to leave a comment.
You can add the specific files like this:
Thank you for the post!