C# Auto complete in Grasshopper/Rhino 8?

I just upgraded to Rhino 8 and am frustrated with the new script editor. It no longer autocompletes if, for, foreach etc statements and it’s infuriating. Do I have a faulty installation, bad settings or is this a new “feature”?

4 Likes

Hi,
Would you mind sharing the script that demonstrates what doesn’t work?

I don’t understand why sharing any script would make a difference? My problem is that when I type “for” followed by a tab in Grasshopper in Rhino 7 I get a complete for loop statement together with a loop variable that I can easily change to whatever I want.

In Grasshopper in Rhino 8 typing “for” followed by a tab is completed by the “intellisense” as “format”. Which is just absurd. I could if necessary share a video where I show that this is the case, but I don’t think that should be necessary given my description here.

This is such a time sink I’m considering staying with Rhino 7 indefinitely even though Rhino 8 is clearly superior in some regards…

2 Likes

Yeah, I’ve noticed a few different quirks of the new code editor including this one. The one that got me a few times is that you can edit the names of passed variables on the component while the editor is open. When you do this, sometimes it works, but most of the time Rhino crashes. It would be a nice feature if it didn’t crash, but personally I preferred it when I couldn’t absentmindedly lose all my work by forgetting to close the editor.

Yes agreed, I have only tried the new editor only for less than an hour today and found that it’s in no way as good as the previous editor. I understand that it’s a good upgrade for python users who are already used to the old python editor, for people who primarily use c# it’s a big setback.

I have also noticed that my rhino and grasshopper window minimizes everytime I close the script editor. I appreciate the fact that I can edit the canvas while editing code, but I have also noticed performance issues with the new editor so I still prefer “the old way”. Hopefully these bugs will be fixed in an update soon.

3 Likes

We know that some things worked better with the old editor but the new one is much better in many ways and has much more potential.

We are doing our best to fix problems as we find them and appreciate your feedback.

I logged 3 issue based on your feedback:

3 Likes

Hey @Alain , sorry for bothering, similar question but about the GH Script → Python component in R8

autocomplete/intellisense almost never kicking in
is there any way to show contextual help based on the method that is being typed? usually after opening the brackets there was a contextual help with overloads and function description that was making life so much easier…

1 Like

@inno We have a ticket to get that fixed and provide method signature help

RH-78115 Support hint/signature provider for python

2 Likes

thanks a lot for that, and also for letting me know

2 Likes

Hello Ehsan, is there any news on this? version 8.4 still doesn’t provide help on functions…
Thanks

I am working on this right now for python languages. Will be available in Rhino 8.6 RC soon

1 Like

can the python component in rhino 8 grasshopper also get this help doc as one types?

1 Like