forked from qt-creator/qt-creator
Enable qmlls by default
Change the default values for enabling qmlls to true. Don't use the latest qmlls version by default for now because qmlls will crash on qt 5.15 projects. Also remove the "experimental" from the checkbox text. Fixes: QTCREATORBUG-30851 Change-Id: I6cac396817eecb0d3bd071668d0588ec6eef1d4f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
@@ -105,7 +105,7 @@ void QmlJsEditingSettings::fromSettings(QtcSettings *settings)
|
|||||||
= settings->value(AUTO_FORMAT_ONLY_CURRENT_PROJECT, QVariant(false)).toBool();
|
= settings->value(AUTO_FORMAT_ONLY_CURRENT_PROJECT, QVariant(false)).toBool();
|
||||||
m_foldAuxData = settings->value(FOLD_AUX_DATA, QVariant(true)).toBool();
|
m_foldAuxData = settings->value(FOLD_AUX_DATA, QVariant(true)).toBool();
|
||||||
m_uiQmlOpenMode = settings->value(UIQML_OPEN_MODE, "").toString();
|
m_uiQmlOpenMode = settings->value(UIQML_OPEN_MODE, "").toString();
|
||||||
m_qmllsSettings.useQmlls = settings->value(USE_QMLLS, QVariant(false)).toBool();
|
m_qmllsSettings.useQmlls = settings->value(USE_QMLLS, QVariant(true)).toBool();
|
||||||
m_qmllsSettings.useLatestQmlls = settings->value(USE_LATEST_QMLLS, QVariant(false)).toBool();
|
m_qmllsSettings.useLatestQmlls = settings->value(USE_LATEST_QMLLS, QVariant(false)).toBool();
|
||||||
m_qmllsSettings.disableBuiltinCodemodel
|
m_qmllsSettings.disableBuiltinCodemodel
|
||||||
= settings->value(DISABLE_BUILTIN_CODEMODEL, QVariant(false)).toBool();
|
= settings->value(DISABLE_BUILTIN_CODEMODEL, QVariant(false)).toBool();
|
||||||
@@ -397,7 +397,7 @@ public:
|
|||||||
uiQmlOpenComboBox->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
|
uiQmlOpenComboBox->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
|
||||||
uiQmlOpenComboBox->setSizeAdjustPolicy(QComboBox::QComboBox::AdjustToContents);
|
uiQmlOpenComboBox->setSizeAdjustPolicy(QComboBox::QComboBox::AdjustToContents);
|
||||||
|
|
||||||
useQmlls = new QCheckBox(Tr::tr("Enable QML Language Server (EXPERIMENTAL!)"));
|
useQmlls = new QCheckBox(Tr::tr("Enable QML Language Server"));
|
||||||
useQmlls->setChecked(s.qmllsSettings().useQmlls);
|
useQmlls->setChecked(s.qmllsSettings().useQmlls);
|
||||||
disableBuiltInCodemodel = new QCheckBox(
|
disableBuiltInCodemodel = new QCheckBox(
|
||||||
Tr::tr("Use QML Language Server advanced features (renaming, find usages and co.) "
|
Tr::tr("Use QML Language Server advanced features (renaming, find usages and co.) "
|
||||||
|
Reference in New Issue
Block a user