Spec icon indicating copy to clipboard operation
Spec copied to clipboard

Avoid currentApplication on class side

Open Ducasse opened this issue 1 year ago • 0 comments

Hi esteban

After our discussion on tool registration, I'm fixing all of them. Now I found this method and I do not see how I can fix it.

Spotter class >> menuCommandOn: aBuilder
	<worldMenu>
	(aBuilder item: #Spotter)
		action: [ self currentApplication tools spotter open ];
		keyText: 'Shift + Enter';
		order: 1;
		parent: #Searching;
		help: 'Search tool to explore Pharo system effectively.';
		iconName: #smallFind

Ducasse avatar Nov 23 '24 14:11 Ducasse