public void Save() { _pyService.SaveEnum(CompletionModeSetting, _category, CompletionMode); _pyService.SaveBool(UseSmartHistorySetting, _category, UseSmartHistory); _pyService.SaveBool(LiveCompletionsOnlySetting, _category, LiveCompletionsOnly); _pyService.SaveString(ScriptsSetting, _category, Scripts); Changed?.Invoke(this, EventArgs.Empty); }
public void Save() { _pyService.SaveString(_id + PrimaryPromptSetting, _category, PrimaryPrompt); _pyService.SaveString(_id + SecondaryPromptSetting, _category, SecondaryPrompt); _pyService.SaveBool(_id + UseInterpreterPromptsSetting, _category, UseInterpreterPrompts); _pyService.SaveEnum <ReplIntellisenseMode>(_id + ReplIntellisenseModeSetting, _category, ReplIntellisenseMode); _pyService.SaveBool(_id + SmartHistorySetting, _category, ReplSmartHistory); _pyService.SaveBool(_id + LiveCompletionsOnlySetting, _category, LiveCompletionsOnly); }
public void Save() { _service.SaveBool(DontPromptBeforeRunningWithBuildErrorSetting, Category, !PromptBeforeRunningWithBuildError); _service.SaveBool(WaitOnAbnormalExitSetting, Category, WaitOnAbnormalExit); _service.SaveBool(WaitOnNormalExitSetting, Category, WaitOnNormalExit); _service.SaveBool(TeeStandardOutSetting, Category, TeeStandardOutput); _service.SaveBool(BreakOnSystemExitZeroSetting, Category, BreakOnSystemExitZero); _service.SaveBool(DebugStdLibSetting, Category, DebugStdLib); _service.SaveBool(ShowFunctionReturnValueSetting, Category, ShowFunctionReturnValue); // variable presentation _service.SaveEnum <PresentationMode>(VariablePresentationForClassesSetting, Category, VariablePresentationForClasses); _service.SaveEnum <PresentationMode>(VariablePresentationForFunctionsSetting, Category, VariablePresentationForFunctions); _service.SaveEnum <PresentationMode>(VariablePresentationForProtectedSetting, Category, VariablePresentationForProtected); _service.SaveEnum <PresentationMode>(VariablePresentationForSpecialSetting, Category, VariablePresentationForSpecial); Changed?.Invoke(this, EventArgs.Empty); }
public void Save() { _service.SaveBool(EnterCommitsSetting, Category, EnterCommitsIntellisense); _service.SaveBool(IntersectMembersSetting, Category, IntersectMembers); _service.SaveBool(NewLineAtEndOfWordSetting, Category, AddNewLineAtEndOfFullyTypedWord); _service.SaveString(CompletionCommittedBySetting, Category, CompletionCommittedBy); _service.SaveBool(EnterOutlingModeOnOpenSetting, Category, EnterOutliningModeOnOpen); _service.SaveBool(PasteRemovesReplPromptsSetting, Category, PasteRemovesReplPrompts); _service.SaveBool(FilterCompletionsSetting, Category, FilterCompletions); _service.SaveEnum(SearchModeSetting, Category, SearchMode); _service.SaveBool(ColorNamesSetting, Category, ColorNames); _service.SaveBool(ColorNamesWithAnalysisSetting, Category, ColorNamesWithAnalysis); _service.SaveBool(AutoListIdentifiersSetting, Category, AutoListIdentifiers); }
public void Save() { _pyService.SaveEnum(SurveyNewsCheckSetting, GeneralCategory, SurveyNewsCheck); _pyService.SaveDateTime(SurveyNewsLastCheckSetting, GeneralCategory, SurveyNewsLastCheck); _pyService.SaveBool(ShowOutputWindowForVirtualEnvCreateSetting, GeneralCategory, ShowOutputWindowForVirtualEnvCreate); _pyService.SaveBool(ShowOutputWindowForPackageInstallationSetting, GeneralCategory, ShowOutputWindowForPackageInstallation); _pyService.SaveBool(ElevatePipSetting, GeneralCategory, ElevatePip); _pyService.SaveBool(UnresolvedImportWarningSetting, GeneralCategory, UnresolvedImportWarning); _pyService.SaveBool(ClearGlobalPythonPathSetting, GeneralCategory, ClearGlobalPythonPath); _pyService.SaveBool(AutoAnalysisSetting, AdvancedCategory, AutoAnalyzeStandardLibrary); _pyService.SaveBool(UpdateSearchPathsWhenAddingLinkedFilesSetting, AdvancedCategory, UpdateSearchPathsWhenAddingLinkedFiles); _pyService.SaveEnum(IndentationInconsistencySeveritySetting, AdvancedCategory, _indentationInconsistencySeverity); if (CrossModuleAnalysisLimit != null) { _pyService.SaveInt(CrossModuleAnalysisLimitSetting, AdvancedCategory, CrossModuleAnalysisLimit.Value); } else { _pyService.SaveString(CrossModuleAnalysisLimitSetting, AdvancedCategory, "-"); } Changed?.Invoke(this, EventArgs.Empty); }