Mac WIP 8 - GH C# live compile is very problematic

Using the GH C# component it compiles live each time a new line is written. That means a small typo can easily hang the system - the moment I type it - no chance to take it back…
Classic example is two nested for loops, where i copy paste the loop and don’t rename the increment variable in all places… And there are surely thousands of others.

I usually nest more complex projects in a ‘If’ condition connected to a button, but nevertheless - this live compile is dangerous and can become slow with complex operations.

It can be the default, but it really needs an option to turn it off…

Okay logged this as https://mcneel.myjetbrains.com/youtrack/issue/RH-72969 and will work on it this week. Thanks for reporting this.

1 Like

Diagnostics speed improved. There is also a language specific option to turn them off if they are still annoying

Rhino_8Jh2Avyirq

what kind of editor is this?
I am getting a bit confused with all the different ones now implemented across macOS / Windows. My question / request was for the ‘C# Script’ in Grasshopper… At least in the latest WIP from today it does not show anything new - and no options at all?

ok this is the new scripteditor in windows…

It was never about Linting… also i do not think that linting can crash a session?
Did you even read what I wrote?

@atair Hi. Yes I read your comments. You are using the Work-In-Progress version or Rhino so features are not “Complete” and might be buggy. The new script editor is consistent across macOS and Windows so that simplifies script development across the two platforms.

RE this issue RH-72969 we have improved the linting performance if C# in the new editor. But again you can just turn that off for C# or python if you don’t like it.

The new editor will have a Options window like the legacy “EditPythonScript” editor.

I really appreciate your feedback if you can point me to specific problems you continue to see with the new editor

Hi, sorry the last post was so harsh - but i was very frustrated with this…
As far as I understand, the script editor you are talking about, is the new one that is in Rhino and GH (ScriptEditor) that is for Python and C#?
But in GH the C# module is not accessible yet? When will it be activated - any eta? thanks!

Hi -

The Grasshopper Script component can be used for Python3 and C#:

image

-wim

perfect! wasn’t there in the last wip… now its here on macOS too

1 Like