Improve experience when activating the inspector

Uses actions' functions instead of strings, to run, compile or test.