diff --git a/share/qtcreator/styles/creator-dark.xml b/share/qtcreator/styles/creator-dark.xml
index 088feb7a2ed..275290c4319 100644
--- a/share/qtcreator/styles/creator-dark.xml
+++ b/share/qtcreator/styles/creator-dark.xml
@@ -68,6 +68,8 @@
+
+
diff --git a/share/qtcreator/styles/dark-2024.xml b/share/qtcreator/styles/dark-2024.xml
index b576eb4fb81..dde321edc5b 100644
--- a/share/qtcreator/styles/dark-2024.xml
+++ b/share/qtcreator/styles/dark-2024.xml
@@ -68,6 +68,8 @@
+
+
diff --git a/share/qtcreator/styles/dark.xml b/share/qtcreator/styles/dark.xml
index db26e1467ef..a49e021cab7 100644
--- a/share/qtcreator/styles/dark.xml
+++ b/share/qtcreator/styles/dark.xml
@@ -70,4 +70,6 @@
+
+
diff --git a/share/qtcreator/styles/default_classic.xml b/share/qtcreator/styles/default_classic.xml
index 3d7f8f04a65..36a5d9f99b6 100644
--- a/share/qtcreator/styles/default_classic.xml
+++ b/share/qtcreator/styles/default_classic.xml
@@ -59,6 +59,8 @@
+
+
diff --git a/share/qtcreator/styles/grayscale.xml b/share/qtcreator/styles/grayscale.xml
index 3d0e41936a5..3c9c5b29af6 100644
--- a/share/qtcreator/styles/grayscale.xml
+++ b/share/qtcreator/styles/grayscale.xml
@@ -40,6 +40,8 @@
+
+
diff --git a/share/qtcreator/styles/mabakor.xml b/share/qtcreator/styles/mabakor.xml
index 91488f70ea7..19826d7d00f 100644
--- a/share/qtcreator/styles/mabakor.xml
+++ b/share/qtcreator/styles/mabakor.xml
@@ -68,6 +68,8 @@
+
+
diff --git a/share/qtcreator/styles/solarized-dark.xml b/share/qtcreator/styles/solarized-dark.xml
index ade9f227d07..5deb45e2b8e 100644
--- a/share/qtcreator/styles/solarized-dark.xml
+++ b/share/qtcreator/styles/solarized-dark.xml
@@ -74,6 +74,8 @@
+
+
diff --git a/share/qtcreator/styles/solarized-light.xml b/share/qtcreator/styles/solarized-light.xml
index 348d89f4453..b0917e714ef 100644
--- a/share/qtcreator/styles/solarized-light.xml
+++ b/share/qtcreator/styles/solarized-light.xml
@@ -71,6 +71,8 @@
+
+
diff --git a/src/plugins/languageclient/diagnosticmanager.cpp b/src/plugins/languageclient/diagnosticmanager.cpp
index 6b658edfcc4..cc5e4a01f4d 100644
--- a/src/plugins/languageclient/diagnosticmanager.cpp
+++ b/src/plugins/languageclient/diagnosticmanager.cpp
@@ -269,6 +269,8 @@ QTextEdit::ExtraSelection DiagnosticManager::createDiagnosticSelection(
style = C_ERROR;
else if (severity == DiagnosticSeverity::Warning)
style = C_WARNING;
+ else if (severity == DiagnosticSeverity::Information)
+ style = C_INFO;
else
return {};
diff --git a/src/plugins/texteditor/texteditorconstants.cpp b/src/plugins/texteditor/texteditorconstants.cpp
index 32e0be34271..c2116846a32 100644
--- a/src/plugins/texteditor/texteditorconstants.cpp
+++ b/src/plugins/texteditor/texteditorconstants.cpp
@@ -93,6 +93,8 @@ const char *nameForStyle(TextStyle style)
case C_ERROR_CONTEXT: return "ErrorContext";
case C_WARNING: return "Warning";
case C_WARNING_CONTEXT: return "WarningContext";
+ case C_INFO: return "Info";
+ case C_INFO_CONTEXT: return "InfoContext";
case C_DECLARATION: return "Declaration";
case C_FUNCTION_DEFINITION: return "FunctionDefinition";
diff --git a/src/plugins/texteditor/texteditorconstants.h b/src/plugins/texteditor/texteditorconstants.h
index a7e54971224..c927529759a 100644
--- a/src/plugins/texteditor/texteditorconstants.h
+++ b/src/plugins/texteditor/texteditorconstants.h
@@ -88,6 +88,8 @@ enum TextStyle : quint8 {
C_LOG_COMMIT_SUBJECT,
C_LOG_DECORATION,
+ C_INFO,
+ C_INFO_CONTEXT,
C_WARNING,
C_WARNING_CONTEXT,
C_ERROR,
diff --git a/src/plugins/texteditor/texteditorsettings.cpp b/src/plugins/texteditor/texteditorsettings.cpp
index 9b756b7c2dd..3e36dc66998 100644
--- a/src/plugins/texteditor/texteditorsettings.cpp
+++ b/src/plugins/texteditor/texteditorsettings.cpp
@@ -346,6 +346,18 @@ FormatDescriptions TextEditorSettingsPrivate::initialFormats()
QColor(255, 190, 0),
QTextCharFormat::DotLine,
FormatDescription::ShowAllControls);
+ formatDescr.emplace_back(C_INFO,
+ Tr::tr("Info"),
+ Tr::tr("Underline color of info diagnostics."),
+ QColor(38, 32, 136),
+ QTextCharFormat::DashUnderline,
+ FormatDescription::ShowAllControls);
+ formatDescr.emplace_back(C_INFO_CONTEXT,
+ Tr::tr("Info Context"),
+ Tr::tr("Underline color of the contexts of info diagnostics."),
+ QColor(38, 32, 136),
+ QTextCharFormat::DotLine,
+ FormatDescription::ShowAllControls);
Format outputArgumentFormat;
outputArgumentFormat.setItalic(true);
formatDescr.emplace_back(C_OUTPUT_ARGUMENT,