Greetings to all. I installed PTSV on Visual Studio, I thought humanly to gossip on python, but there is one problem - there is no error highlighting. In essence, without it, the IDE becomes useless.

Example:

Class1.py

class A(object): def One(self): print "Class A" class B(object): def Two(self): print "Class B" 

Class2.py

 import Class1 smp = A(); smp.ABRAKADABRA() //Тут VS говорит, что мол ничего страшного нет и не подсвечивает. 

Already almost all the settings clambered and did not find anything close. Maybe someone knows how to shine mistakes or maybe this does not exist at all.

    1 answer 1

    In Python, this is not a syntax error. Since you can easily add a method to the class or its instance in runtime.

    • It's clear. But it would be logical to highlight this, since there is no such method in any class. Maybe I just accidentally clicked on the keyboard and assigned an extra character to the name of the method. This could immediately see and eliminate the unpleasant situation. - Flasher-11
    • And what kind of mistake then? Eat the delights of dynamic typing as is :) - zzashpaupat
    • Nightmare) I never would have sat down at a python, circumstances forced) - Flasher-11
    • @ Flasher-11 try Intellij PyCharm. There such things as Warning are marked at least. - zzashpaupat
    • Thanks, I will try) - Flasher-11