Sublime Forum

All my codes have this red line in it. I don't understand

#1

1 Like

#2

Did you turn on spellcheck? F6 key can toggle this off.

0 Likes

#3

From the icons in the left gutter, it looks like you’re getting errors from a linter or something. What plugins do you have installed?

0 Likes

#4

Trailing whitespace and no blank line at end of file? Maybe. It does look like a linter

0 Likes

#5

didn’t work

0 Likes

#6

The screenshot definitely shows linting errors.

pylint, pyflakes,… don’t like tab indention. Change indention to use spaces to resolve the issues.

Last line must contain a \n.

You have something like SublimeLinter or LSP installed?

0 Likes

#7

If you put your text cursor on the red line, is there any interesting message in the status bar perhaps?

If you hover your mouse cursor over the yellow warning icons in the gutter, is there any tooltip?

0 Likes