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

LSP: Fix class documentation to include brief

This commit is contained in:
HolonProduction
2025-06-09 12:24:35 +02:00
parent 42c7f14422
commit 30672ffce7
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;
}