1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #107315 from HolonProduction/lsp-brief-fix

LSP: Fix class documentation to include brief
This commit is contained in:
Rémi Verschelde
2025-06-12 11:56:42 +02:00
3 changed files with 22 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ void ExtendGDScriptParser::parse_class_symbol(const GDScriptParser::ClassNode *p
}
r_symbol.detail = "class " + r_symbol.name;
{
String doc = p_class->doc_data.description;
String doc = p_class->doc_data.brief;
if (!p_class->doc_data.description.is_empty()) {
doc += "\n\n" + p_class->doc_data.description;
}