Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm does not highlight errors

Tags:

python

pycharm

i've a problem with PyCharm v2.7. it does not show me errors. i've configured it to show them as here but nothing. here a screenshot of what i see (no error displayed) enter image description here

if i run code analysis it shows the errors marked as INVALID in the window but it does not highlight the code. any idea?

like image 438
EsseTi Avatar asked Dec 18 '13 16:12

EsseTi


People also ask

How do I turn on warnings in PyCharm?

Press Ctrl+Alt+S to open the IDE settings and select Editor | Inspections. Select the profile that you want to modify and then choose an inspection from the list. Make sure that it is enabled. From the Severity list, select a new severity level.

How do I highlight codes in PyCharm?

Enable semantic highlightingPress Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | Language Defaults | Semantic highlighting. Select the Semantic highlighting checkbox and customize the color ranges if necessary.

How do I fix PyCharm errors?

Apply fixes in the Problems tool window All detected problems are listed in the left part of the tool window. Click a problem to display inspection details on the right. icon on the toolbar or in the context menu. You can also press Alt+Enter and select a suitable fix from the popup menu.

Why is my PyCharm code not running?

On the main toolbar, click the run/debug configuration combobox, and make sure that 'Solver' run/debug configuration is the current one. Now you can observe results in the Run tool window.


1 Answers

I had this issue recently on PyCharm 2020.3.3 Community Edition.

What I've found is in the top right corner of the editor there is a Reader Mode button. If you click it you turn the Reader Mode off and then you can see your errors.

enter image description here

You can re-enable it by clicking the book icon Enter Reader Mode

like image 88
Jerzy Kiler Avatar answered Sep 20 '22 05:09

Jerzy Kiler