Of course. But a gui inside the editor would be nice too.
Also how’s that going to work for a C# or a Python script that’s inside a GH file? Would be nice to push and pull to/from a remote server inside GH.
I also use conda to manage my working environement. This is because I have custom packages that are not pip-install-able and some packages are “editable” local libraries (I am developing those libraries).
As part of development, I also switch my conda environment frequently. It would be nice if there is a way to select my conda environment (similar to how I would work in VS code and select an interpreter) for Rhino Python code to run in.
I pulled in an old piece of Python and the first thing that hit me was the formatting nanny. It created a rash of disapproval all over my neatly presented but nonconformant code. Any chance we could turn this off until such time as we can configure it to our own idiosyncrasies?
Will this work with Visual Studio for the development of C++ DLL with procedures that can be called from Python? I do this now with Visual Studio 2019 (VS 2019) and IronPython in Rhino 7. In Visual Studio Debug mode, Rhino will automatically be started and then I can run my Python script which will call the C++ procedures in the C++ DLL. If there is a exception in the C++ code, then the offending line will be highlighted in the C++ editor.
When transitioning from VS 2017/Rhino 6 to VS 2019/Rhino 7, a setting had to be updated so that the debugger would start up Rhino 7 instead of Rhino 6. I think this will need to be done for Rhino 8 also.
Normally Visual Studio is used to create C++ plugin for Rhino. But it only takes a few modifications for this flow to generate a C++ DLL with procedures callable from Python using a C-types interface for passing the variables to/from the C++ code. Having this capability is key to improving Python performance over 100x for many applications.
If the above will be possible, how long will it be for the Plugin/C++ DLL flow to support Visual Studio 2022 which came out this month? VS 2022 supports C++ 20 which has more features. It would be exciting to have the capability to run VS 2022 with C++ 20 to generate C++ DLL for use with RhinoCode with Python 3.9 support.
Yes, that is the command to execute when starting a debug session. This is under the Debugger properties for your project.
I would imagine this is already possible. We are currently at the early stages of going through the transition of from building Rhino in VS2019 to VS2022 which amounts to one developer figuring things out and then helping the rest of the team migrate. That said, you should be able to use VS2022 today for your own project.