Can't reference one of the Go SDK files since it got excluded

Since yesterday, the request.go file can't be referenced and it grey out as if it's not included in the SDK. It happened to all the projects which use http.Request. This might be a indexing issue. Could anyone suggest a solution because it's really annoying seeing the reference error.


0
正式评论

Go to "Settings/Preferences | Editor | File Types" and check under "Ignore files and folder" to make sure the file is not there, or under "Recognized File Types | Text" for the file not to be associated with the text format.

Avatar
Permanently deleted user

The file was associated with Text. Thanks for the quick response!

0

请先登录再写评论。