Using another IDE?!?!

Forum Forums Visual Components 4.0 Python Programming in VC Using another IDE?!?!

Tagged: ,

This topic contains 4 replies, has 5 voices, and was last updated by Avatar jouha 1 month, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14611
    Avatar
    PatrickGroeller
    Participant

    Hello there,

    I was wondering if it is possible to use another IDE for programming python programs for Visual Components.

    For example I am trying to use PyCharm in order to wright my python programs but I am stuck at adding / finding all libraries that are specific for Visual Components.

    So is this possible? Does anyone have experience with this?

    Thanks a lot in Advance!

     

    Best wishes,

    Patrick

    #14629
    Avatar
    luowei777
    Participant

    Jouni knows, let’s see if we can find him. LOL

    Same demands here.

    #14704
    Avatar
    ozan
    Participant

    Could be very usefull. Folllowing

    #14726
    Avatar
    90jb12
    Participant

    You can use PyCharm for writing python plugins, i.e. the scripts which go in the MyCommands folder, but the scripts stored inside components are not text files on disk, so can’t be opened in the traditional way…

    Plus, I can’t find the source python files for things such as vcScript etc, so autocomplete won’t work for VC objects in an IDE, the only benefit it adds is syntax checking.

    #14894
    Avatar
    jouha
    Moderator

    90jb12 is right about the command scrips.

    There’s no interface to the python interpreter or runtime that could be hooked with any external debugging tools. The Python implementation is tightly coupled with the main application.

    Although, it is possible to edit Python Script behavior (component script) contents via the Python or .NET API.  Since e.g. the vcScipt in Python API exposes the contents via Script property. Once the content of the script is changed (and sim not running) it will be compiled automatically.

    So there’s some what limited way to expose the contents for external editing. It will get more complicated when syncing is needed between the external and VC script contents, monitoring the lifetime of the behaviors etc..

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.