tdf#165780 BASIC IDE code completion without experimental

As code completion is always available in Tools > Options, and it is
there for a long time, it is no longer relevant to make it visible only
when experimental features are enabled.

Change-Id: I4e80daa92b07745c1bca065c8239df283c69b883
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183171
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
This commit is contained in:
Hossein
2025-03-19 08:55:01 +01:00
parent 81b7a0ee3d
commit a72fc05f49

View File

@ -43,7 +43,7 @@ CodeCompleteOptions::CodeCompleteOptions()
bool CodeCompleteOptions::IsCodeCompleteOn()
{
return officecfg::Office::Common::Misc::ExperimentalMode::get() && theCodeCompleteOptions().bIsCodeCompleteOn;
return theCodeCompleteOptions().bIsCodeCompleteOn;
}
void CodeCompleteOptions::SetCodeCompleteOn( bool b )
@ -53,7 +53,7 @@ void CodeCompleteOptions::SetCodeCompleteOn( bool b )
bool CodeCompleteOptions::IsExtendedTypeDeclaration()
{
return officecfg::Office::Common::Misc::ExperimentalMode::get() && theCodeCompleteOptions().bExtendedTypeDeclarationOn;
return theCodeCompleteOptions().bExtendedTypeDeclarationOn;
}
void CodeCompleteOptions::SetExtendedTypeDeclaration( bool b )
@ -63,7 +63,7 @@ void CodeCompleteOptions::SetExtendedTypeDeclaration( bool b )
bool CodeCompleteOptions::IsProcedureAutoCompleteOn()
{
return officecfg::Office::Common::Misc::ExperimentalMode::get() && theCodeCompleteOptions().bIsProcedureAutoCompleteOn;
return theCodeCompleteOptions().bIsProcedureAutoCompleteOn;
}
void CodeCompleteOptions::SetProcedureAutoCompleteOn( bool b )
@ -73,7 +73,7 @@ void CodeCompleteOptions::SetProcedureAutoCompleteOn( bool b )
bool CodeCompleteOptions::IsAutoCloseQuotesOn()
{
return officecfg::Office::Common::Misc::ExperimentalMode::get() && theCodeCompleteOptions().bIsAutoCloseQuotesOn;
return theCodeCompleteOptions().bIsAutoCloseQuotesOn;
}
void CodeCompleteOptions::SetAutoCloseQuotesOn( bool b )
@ -83,7 +83,7 @@ void CodeCompleteOptions::SetAutoCloseQuotesOn( bool b )
bool CodeCompleteOptions::IsAutoCloseParenthesisOn()
{
return officecfg::Office::Common::Misc::ExperimentalMode::get() && theCodeCompleteOptions().bIsAutoCloseParenthesisOn;
return theCodeCompleteOptions().bIsAutoCloseParenthesisOn;
}
void CodeCompleteOptions::SetAutoCloseParenthesisOn( bool b )
@ -93,7 +93,7 @@ void CodeCompleteOptions::SetAutoCloseParenthesisOn( bool b )
bool CodeCompleteOptions::IsAutoCorrectOn()
{
return officecfg::Office::Common::Misc::ExperimentalMode::get() && theCodeCompleteOptions().bIsAutoCorrectOn;
return theCodeCompleteOptions().bIsAutoCorrectOn;
}
void CodeCompleteOptions::SetAutoCorrectOn( bool b )