none
Python Visual Studio extension doesn't show errors

    Question

  • I'm used to use VS to code C++ and Eclipse to code python but lately I have tried VS for both languages.

    I found something very difficult to understand that while VS autocompletes it doesn't warn you about errors before runtime.

    There is no warning regarding non existent variables or methods. I can't believe that VS does not warn about this kind of typical coding issues as it does for C++ code (as every IDE does).

    What am I missing?

    I tested this with VS2013 and VS2015.

    Thanks

    Wednesday, June 22, 2016 5:27 PM

All replies

  • Hi JhonSnow,

    Thanks for your post.

    I did a test in my side and the behavior is same to yours. It will not give me any warning or error for this code. So I guess this is by design in Visual Studio.

    Since the Python is an extension for Visual Studio. For this kind of issue. I suggest you could ask this question to the Q&A for better support.

    https://visualstudiogallery.msdn.microsoft.com/9ea113de-a009-46cd-99f5-65ef0595f937

    Thanks for your understanding.

    Best Regards,

    Lake Xiao

    Friday, June 24, 2016 2:27 AM
    Moderator
  • As far as I know if is officially supported by Microsoft. 

    Is there any people from the Team that takes care of it around?

    Cheers

    Tuesday, June 28, 2016 9:50 PM
  • Hi JhonSnow,

    For this problem, I suggest you could report it to the Microsoft Connect:

    https://connect.microsoft.com/VisualStudio

    Microsoft engineers will evaluate them seriously. Thanks for your understanding. After you submit the feedback, you can post the link here which will be beneficial for other members with the similar issue.

    And I will help you to vote it.

    Best Regards,

    Lake Xiao



    Wednesday, June 29, 2016 1:07 AM
    Moderator