Atom Editor 1.15.0 with Go-Plus has a red background in the function source code

I updated Atom to the latest (1.15.0) and updated all the plugins. I have go-plus and go-debug plugins.

I get a random red background for a lot of methods in Go files. If I save the file, it will disappear in a few seconds.

enter image description here

I thought this was a warning, but I do not see a warning in go-plus.

Any ideas .. What does red bg mean and how to disable it?

+6
source share
2 answers

If the package does not have test files, Atom will show the default background for all lines of source code.

1 , . , , , , , , .

:

View -> Preferences -> Packages -> go-plus settings -> Test section
  • :
  • :. - , , ,
  • : , , , , ()
  • : ; - highlight, , . gutter, , , .

go-plus v5.0. gif, :

enter image description here

+10

.

+4

Source: https://habr.com/ru/post/1016312/


All Articles