From ce9398c2a40faab36a525bcfeb55fd09fd9f297b Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Thu, 2 Nov 2023 10:23:29 +0800 Subject: [PATCH] =?UTF-8?q?-=20change:=20In=20Options=20=E2=80=94>=20Edito?= =?UTF-8?q?r=20->=20Code=20Suggestion,=20option=20"Hide=20symbols=20starti?= =?UTF-8?q?ng=20with=20underscore"=20default=20to=20True.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NEWS.md | 1 + RedPandaIDE/settings.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 1174f09b..e7574cec 100644 --- a/NEWS.md +++ b/NEWS.md @@ -24,6 +24,7 @@ Red Panda C++ Version 2.26 - enhancement: Hide symbols that contains "<>" in code suggestions. - enhancement: Slightly reduce memory usage. - change: In Options -> Language -> Generate Assembly, option "Don't generate SEH directives" default to True. + - change: In Options —> Editor -> Code Suggestion, option "Hide symbols starting with underscore" default to True. Red Panda C++ Version 2.25 diff --git a/RedPandaIDE/settings.cpp b/RedPandaIDE/settings.cpp index ef4cd57e..55a52f18 100644 --- a/RedPandaIDE/settings.cpp +++ b/RedPandaIDE/settings.cpp @@ -4694,7 +4694,7 @@ void Settings::CodeCompletion::doLoad() mShowCodeIns = boolValue("show_code_ins",true); mMinCharRequired = intValue("min_char_required",1); mHideSymbolsStartsWithTwoUnderLine = boolValue("hide_symbols_start_with_two_underline", true); - mHideSymbolsStartsWithUnderLine = boolValue("hide_symbols_start_with_underline", false); + mHideSymbolsStartsWithUnderLine = boolValue("hide_symbols_start_with_underline", true); bool shouldShare= true; // bool doClear = false;