lib/scratch.js
/**
	 * @description Opens the scratch editor. If it is already open, closes it.
	 */
@description Opens the scratch editor. If it is already open, closes it.
@description Opens the scratch editor . If it is already open closes it .
toggleScratch() {
		let scratchEditor = this.getScratchEditor();
		if (scratchEditor) {
			this.closeScratchEditor();
		} else {
			this.openScratchEditor();
		}
	}
toggleScratch ( ) { let scratchEditor = this . getScratchEditor ( ) ; if ( scratchEditor ) { this . closeScratchEditor ( ) ; } else { this . openScratchEditor ( ) ; } }
@description Opens the scratch editor.
@description Opens the scratch editor .