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
(cherry picked from commitae3aec1dbc) Fix LSP crash parsing scripts of temp size 0 (cherry picked from commit679ce6fd0b)
This commit is contained in:
committed by
Rémi Verschelde
parent
bb1e434d7c
commit
15025a4c93
@@ -413,6 +413,12 @@ String ExtendGDScriptParser::parse_documentation(int p_line, bool p_docs_down) {
|
||||
doc_lines.push_front(line_comment);
|
||||
}
|
||||
} else {
|
||||
if (i > 0 && i < lines.size() - 1) {
|
||||
String next_line = lines[i + step].strip_edges(true, false);
|
||||
if (next_line.begins_with("#")) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user