[BLUEJ-352] 'Record method calls' format
Two issues: one cosmetic, one a bug.
Bug: When 'Record method calls' is on in the terminal, and two projects are open, method calls get recorded to both terminals. They should appear only in one.
Cosmetic: I want to change the format of the output of recording method calls. For void methods, currently it shows
[ student1.changeName("Fred") ]
[ void result ]
Instead, I would like to show the exact Java statement (with semicolon, without square bracket):
student1.changeName("Fred");
But it must then be distinguished from other output (but still be mixed in to the sequence. I would like to show the recording output in either italics, or in dark red colour, or both. Can we do mixed fonts/colour in that pane?
For non-void methods, it currently shows
[ student1.getName() ]
[ java.lang.String result = "Fred" ]
Instead it should show
student1.getName() returned String "Fred"
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.5