How to set an empty extension for file templates?
Answered
Hi,
Is it possible to create a file template without any extension?
Preferences | Editor | File and Code Templates | Create Template (+)
I want to set the file name to "LICENSE" and leave the file extension blank.
Right now if I leave the extension blank, it inserts a dot "." at the end of my file name. e.g. "LICENSE."
Thanks
Please sign in to leave a comment.
Just remove that dot.
Simple enough.
I was just trying to see if there was a way to not have to rename the file but that will suffice.
Thanks
Konstantin Annikov, I don't get this option. It always creates a file with `.`
Praveen Does it help if you close IntelliJ IDEA and delete `options/filetypes.xml` from the Configuration directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory?
Does the issue occur with the default settings? File | Manage IDE Settings | Restore Default Settings...: https://i.imgur.com/kbrkC7w.png. Might be some plug-in causing this.