Intellisense in PTVS (Python Tools for Visual Studio)

axel bauer
2015-11-20
2019-11-12
  • axel bauer

    axel bauer - 2015-11-20

    Is it possible to get intellisense in PTVS for the Codesys Objects like "projects" ... ?

     
  • Anonymous - 2015-11-20

    Originally created by: M.Schaber

    Hi,

    Right now, this is not yet possible (except if you create the files yourself).

    However, we plan to Implement generating a stub scriptengine.py as part of CDS-23713, which could then be used as a source for intellisense.

     
  • axel bauer

    axel bauer - 2015-11-20

    Thank you for the fast reply !

     
  • andipandi

    andipandi - 2016-01-27

    Thanks, that would be very helpful!

     
  • WousV

    WousV - 2017-09-26

    Hello!

    Might I ask if there is any news on this? I can't access the Jira, so I don't know what the status of the mentioned ticket is.

    BR

    Wouter

     
  • Anonymous - 2017-10-05

    Originally created by: Matthias S.

    Hello WousV,

    Jira ticket is closed - topic is solved.
    Solution is in V3.5 SP10 Patch 1.

    Greetings,
    Matthias

     
  • WousV

    WousV - 2017-11-06

    Hello,

    I've looked very thoroughly in both V3.5 SP10 Patch1 and V3.5 SP11 Patch 2 and I just can't find what or where this source for Intellisense for PTVS is. Could you please help me?

    BR,

    Wouter

     
  • schaepper

    schaepper - 2017-12-05

    Hello

    I would also be interested in this.
    Is it possible to create a (python) project in visual studio, add a scriptengine to the project and use it as every other .NET assembly with intellisense? Or with some other way. The documentation online is just not very helpfull I think, and the link is broken since ages.

    Thanks for the informations.

    Greetings

     
  • zhou

    zhou - 2018-05-17

    I am also very interested in this topic, is there any new updated information?

     
  • bjh

    bjh - 2019-08-09

    Has anyone located this scriptengine.py stub? It would be of great help

     
  • Krowi

    Krowi - 2019-11-06

    Any update on this topic? I've searched for this file everywhere in my install directory and I can't find it. I'm using Codesys 3.5.14.10.

     
  • m.prestel

    m.prestel - 2019-11-11

    Hello everyone,

    attached to the issue mentioned by m.schaber there is a .py file.

    Executing this script file will generate a api.json (which should work!)

    Best regards,
    Marcel

    DumpApi.py [194 Bytes]

     
  • Krowi

    Krowi - 2019-11-12

    m.prestel hat geschrieben:
    Hello everyone,
    attached to the issue mentioned by m.schaber there is a .py file.
    Executing this script file will generate a api.json (which should work!)
    Best regards,
    Marcel

    Thank you very much! I was able to create the api.json file but I'm kind of stuck now how to continue from this. How can this api give me intellisense in VS?

     

Log in to post a comment.