chore: Move settings it setups

This commit is contained in:
Petr Mironychev
2025-11-20 18:04:55 +01:00
parent 90655cded4
commit 24565dc81f

View File

@ -363,7 +363,8 @@ CodeCompletionSettings::CodeCompletionSettings()
Row{completionTriggerMode, Stretch{1}}, Row{completionTriggerMode, Stretch{1}},
showProgressWidget, showProgressWidget,
useOpenFilesContext, useOpenFilesContext,
abortAssistOnRequest}; abortAssistOnRequest,
ignoreWhitespaceInCharCount};
auto autoTriggerSettings = Column{ auto autoTriggerSettings = Column{
Row{autoCompletionCharThreshold, Row{autoCompletionCharThreshold,
@ -373,8 +374,7 @@ CodeCompletionSettings::CodeCompletionSettings()
auto hintTriggerSettings = Column{ auto hintTriggerSettings = Column{
Row{hintCharThreshold, hintHideTimeout, Stretch{1}}, Row{hintCharThreshold, hintHideTimeout, Stretch{1}},
Row{hintTriggerKey, Stretch{1}}, Row{hintTriggerKey, Stretch{1}}};
ignoreWhitespaceInCharCount};
return Column{Row{Stretch{1}, resetToDefaults}, return Column{Row{Stretch{1}, resetToDefaults},
Space{8}, Space{8},