Stop IntelliJ from creating the encodings.xml file
Answered
Hey,
I'm really new to IntelliJ and I can't find a way to tell it to stop creating the encodings.xml file in .idea. I found Settings|Editor|File Encodings but I don't know what to change to stop IntelliJ creating this file. The reason I want to do that is that I just cloned a repo of a team project and I neither want to add it to git nor to .gitignore.
Would really appreciate any form of help :)
Best regards,
Nico
Please sign in to leave a comment.
There is no way to avoid this file creation, try adding it to VCS ignored list: https://www.jetbrains.com/help/idea/settings-version-control-ignored-files.html
> nor to .gitignore.
While adding the file to the .gitingore inside the project is not an option, there are other ignore locations - global .gitignore and .git/info/exclude that could help. See https://git-scm.com/docs/gitignore
The encodings.xml file is generated when the project encoding is set explicitly. Changing the Project encoding to System Default at Settings | Editor | File Encodings should make it disappear unless there are files in the project with explicitly set encodings.