Improve experience when activating the inspector

Uses actions' functions instead of strings, to run, compile or test.
``inspector`` has been renamed to ``inspect`` everywhere so the above should be ``inspectActivated``