You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Makes LSP report new() as _init; fixes docstrings
This commit is contained in:
@@ -409,6 +409,10 @@ String ExtendGDScriptParser::parse_documentation(int p_line, bool p_docs_down) {
|
||||
doc_lines.push_front(line_comment);
|
||||
}
|
||||
} else {
|
||||
String next_line = lines[MAX(0, i + step)].strip_edges(true, false);
|
||||
if (next_line.begins_with("#")) {
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user