mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Merge pull request #107315 from HolonProduction/lsp-brief-fix
LSP: Fix class documentation to include brief
This commit is contained in:
commit
f400e10011
3 changed files with 22 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue