[GREENFOOT-567] Auto-complete before square brackets treats them as round
If you have Stride code like "ad[]" and you autocomplete in the "ad" slot, changing it to a method call with parameters (e.g. "addedToWorld") then the square brackets will get prompt text between them with the parameter name (e.g. "world"). This is wrong; we should add round brackets in this case before the squares, and then put prompt text in them.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.1.0