Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable local variable and parameter tag reporting for various languages
This patch enables local variable and function parameter reporting for Python, GDScript, PHP, and Typescript. Because these are dynamic languages and Geany scope autocompletion relies on static type information, scope completion doesn't work for these languages. However, at least we get non-scope autocompletion for local variables and function parameters. Local variables in GDScript were previously mapped to tm_tag_other_t and were displayed in the sidebar. We don't display these tags for C/C++ in the sidebar and they should also be mapped to tm_tag_local_var_t which is why there is a diff in unit tests removing these variables from the output. The python parser generates a slightly different output when function parameter parsing is enabled (whitespace only change) which causes the change of the output of some python unit tests.
- Loading branch information
Showing
6 changed files
with
15 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,10 @@ | ||
_create_block_collider�128�(block_sub_position)�0 | ||
method: _create_block_collider(block_sub_position) | ||
a�524288�id�0 | ||
other: id :: a | ||
b�524288�r�0 | ||
other: r :: b | ||
block_id�524288�calculate_block_uvs�0 | ||
other: calculate_block_uvs :: block_id | ||
block_sub_position�524288�_create_block_collider�0 | ||
other: _create_block_collider :: block_sub_position | ||
c�524288�x�0 | ||
other: x :: c | ||
calculate_block_uvs�128�(block_id)�0 | ||
method: calculate_block_uvs(block_id) | ||
col�524288�calculate_block_uvs�0 | ||
other: calculate_block_uvs :: col | ||
collider�524288�_create_block_collider�0 | ||
other: _create_block_collider :: collider | ||
id�128�(a)�0 | ||
method: id(a) | ||
r�128�(b)�0 | ||
method: r(b) | ||
row�524288�calculate_block_uvs�0 | ||
other: calculate_block_uvs :: row | ||
x�128�(c)�0 | ||
method: x(c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters