It looks like the "hello.go" file was accidentally marked as a plain text file instead of a Go file.
To resolve this, please go to "Settings/Preferences | Editor | File Types" then search for the "Text" type in the "Recognized file types:" section and then, under "Registered patterns:", look for the "hello.go". By the looks of it, "common.go" is also not recognized, so make sure that is not present as well, or that the whole "*.go" pattern is not present there. If they are, then remove them using the "-" button from the list.
You can also have a look at the "Ignore files and folders" input box at the bottom of the mentioned page.
It looks like the "hello.go" file was accidentally marked as a plain text file instead of a Go file.
To resolve this, please go to "Settings/Preferences | Editor | File Types" then search for the "Text" type in the "Recognized file types:" section and then, under "Registered patterns:", look for the "hello.go". By the looks of it, "common.go" is also not recognized, so make sure that is not present as well, or that the whole "*.go" pattern is not present there. If they are, then remove them using the "-" button from the list.
You can also have a look at the "Ignore files and folders" input box at the bottom of the mentioned page.
Great, it works. Thanks.