Goland ide filename and type override
Answered
hello! a long time ago i remember i accidentally pressed some keys, and now whenever i try to create or import a GO file with the name types.go, types.go automatically becomes a text file, hence the .go extension. Where can i fix this? only way for it to become a go file again is to manually override it. thanks!
Please sign in to leave a comment.
Hey,
Please go to Preferences/Settings | Editor | File Types, find File type auto-detected by content or Text and exclude types.go from the file name patterns list.
I hope it helps.
Any course of action on this, I'm having a relative issue. I tried to change things and this is what happened.
The fix above did the trick for me!