private bool SolveEditor()
        {
            string?editor = CommonLogic.GetGlobalEditor();

            if (string.IsNullOrEmpty(editor))
            {
                GlobalConfigFileSettings.SetPathValue("core.editor", EditorHelper.FileEditorCommand);
            }

            return(true);
        }
예제 #2
0
        private bool SolveEditor()
        {
            string editor = CommonLogic.GetGlobalEditor();

            if (string.IsNullOrEmpty(editor))
            {
                GlobalConfigFileSettings.SetPathValue("core.editor", "\"" + AppSettings.GetGitExtensionsFullPath() + "\" fileeditor");
            }

            return(true);
        }
예제 #3
0
        private bool SolveEditor()
        {
            string editor = _commonLogic.GetGlobalEditor();

            if (string.IsNullOrEmpty(editor))
            {
                _gitModule.SetGlobalPathSetting("core.editor", "\"" + Settings.GetGitExtensionsFullPath() + "\" fileeditor");
            }

            return(true);
        }