Community
Participate
Working Groups
I'd like to easily be able to insert a trace showing me that variable and its value. Proposal: some .syserr and .sysout postfix completion on expressions, so that `myVar.` could propose `syserr` as completion and then replace `myVar.` by `System.err.println("myVar=" + myVar)`; and similarly for expressions `someObject.getInfo().x.` could be replaced by `System.err.println("someObject.getInfo().x=" + someObject.getInfo().x)`.
We currently have 'sysout' (but could also add a syserr) which works on an expression whose type is/returns String. We could probably lift this restriction to allow Objects and include the name of the expression as you've described. This would be a nice improvement to the current functionality.
Would it also be possible to add this for base types like int/float/char ?
(In reply to Roland Grunberg from comment #1) > We could probably lift this restriction to allow Objects +1