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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A beginners guide for setting up auto-complete/intellisense in VS Code (2022) for Codesys 3.5.17.10 Python Scriptlib's "scriptengine" path would be greatly appreciated :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to get intellisense in PTVS for the Codesys Objects like "projects" ... ?
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.
Thank you for the fast reply !
Thanks, that would be very helpful!
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
Originally created by: Matthias S.
Hello WousV,
Jira ticket is closed - topic is solved.
Solution is in V3.5 SP10 Patch 1.
Greetings,
Matthias
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
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
I am also very interested in this topic, is there any new updated information?
Has anyone located this scriptengine.py stub? It would be of great help
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.
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]
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?
A beginners guide for setting up auto-complete/intellisense in VS Code (2022) for Codesys 3.5.17.10 Python Scriptlib's "scriptengine" path would be greatly appreciated :-)
@Ulvis,
Great initiative Ulvis, after you found it out how should be configured you could share it under Forge > Tools > Python Scripts!
We look forward to your contribution!