Inline procedure editor freezing on macOS

Issue description

Every time I add any kind of procedure, it loads forever and never actually loads. Besides, I am a mac user but shouldn't be a problem.
Please, can somebody help me? Without procedures I won't be able to make any advanced stuff, I'm sad because of that.

WORKAROUND:

  1. Make new mod element of type procedure, so you open procedure editor in a new tab
  2. Close this tab, you don't need to actually make any procedure, we just need to open procedure editor
  3. Go to some other mod element and try to add or edit procedure using inline procedures (editor in window that hangs in your case)

Issue comments

Could you try just adding new procedure mod element using + button from the workspace panel and then doing the thing you posted in the screenshot. Please report back if it does not hang in this case.

Go to Preferences --> Gradle settings and raise the Maximum memory option to 4,096. If that doesn't work, raise it higher. This solution worked for me. 

But the answer to this question would give me all the info I need:

  1. Make new mod element of type procedure, so you open procedure editor in a new tab
  2. Close this tab, you don't need to actually make any procedure, we just need to open procedure editor
  3. Go to some other mod element and try to add or edit procedure using inline procedures (editor in window that hangs in your case)
  4. Report back if the window still hangs if you did steps 1 and 2 before opening it

This bug will be fixed in the next update by leveraging tabs system instead of modal dialogs for the inline procedure editor. For now, resort to the workaround.