mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
LanguageServers/cpp: Use parser-based autocomplete engine by default
This commit is contained in:
parent
715933ce8b
commit
c2e5bc442d
2 changed files with 2 additions and 1 deletions
|
@ -979,6 +979,7 @@ NonnullRefPtr<GUI::Action> HackStudioWidget::create_set_autocomplete_mode_action
|
|||
auto action = GUI::Action::create_checkable("AutoComplete C++ with Parser", [this](auto& action) {
|
||||
get_language_client<LanguageClients::Cpp::ServerConnection>(project().root_path())->set_autocomplete_mode(action.is_checked() ? "Parser" : "Lexer");
|
||||
});
|
||||
action->set_checked(true);
|
||||
return action;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue