Tips & tricks
Jump to navigation
Jump to search
- stop the editor to complain about unused variables. Sometimes you want to keep a variable in a method even if it is not that useful, maybe just because it make a nice code templates for reuse. To trick the editor into thinking the variable is useful you can write a line with
{myVar1. myVar2}
, that solves it. This trick was reported by Juan in a mail of 08-Feb-2022. - window killer. If you press Ctrl-w the current windows gets closed.
- This does not work on all Morphs, for example it does not work in Transcript.
- I find it especially useful to close the Debugger when I am trying code in the Workspace.
- episode. When I first tried to use this shortcut on a VNC remoted Cuis I got a bad surprise, krdc (my usual VNC client) killed its window. So check well your shortcuts in KDE. You might need to disable Ctrl-w there before using it in Cuis.
- stop-stop-stop. if you press Alt-. you may be able to recover your Cuis when it hangs.