function setGotoEnabled(gotoEnabled) {
        CommandManager.get(Commands.NAVIGATE_GOTO_FIRST_PROBLEM).setEnabled(gotoEnabled);
        _gotoEnabled = gotoEnabled;
    }
Enable or disable the "Go to First Error" command
@param {boolean} gotoEnabled Whether it is enabled.