Closed juggle73 closed 4 years ago
I can't reproduce this on a new install of GoLand 2020.1.3. I think it must be something specific to your setup. Do you maybe have a custom filetype pattern matching subscription.proto
registered to some other editor? Settings -> Editor -> File Types
I just created new Go project and new file
I can reproduce this behavior by adding subscription.proto
as a filename pattern to the "Text" file type. Can you check there? The pattern need not be subscription.proto
, but anything that matches it (e.g., subscription.*
or sub*.*
). If not there, check the other file types in the list that use the same icon (document with a top-left folded corner). The file type configuration is not marked as project-specific, so I don't think creating a new project would change the behavior.
Not sure what else to say. Nothing in this plugin would be doing anything special with files named subscription.proto
.
@jvolkman Bingo. I found subscription.proto in Text patterns. But I never added it, I know. Thank you.
Goland 2020.1.3 Protocol Buffer Editor 2.0
If you create file named "subscription.proto", IDE doesn't recognise it as proto file. Magic.