-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No code completion on obvious case #16257
Comments
Noticed this with KinematicBody2D’s get_safe_margin as well. |
functions are not completed on purpose in 3.0, only properties will
complete. Likewise only properties are shown in the help
…On Wed, Jan 31, 2018 at 5:14 PM, 11clock ***@***.***> wrote:
Noticed this with KinematicBody2D’s get_safe_margin as well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#16257 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z2w9qAYVgvdwgQwqCxD2hgS81h6ylks5tQMmygaJpZM4R0j43>
.
|
let me rephrase, functions for which a property exists are not completed,
only properties
…On Wed, Jan 31, 2018 at 5:23 PM, Juan Linietsky ***@***.***> wrote:
functions are not completed on purpose in 3.0, only properties will
complete. Likewise only properties are shown in the help
On Wed, Jan 31, 2018 at 5:14 PM, 11clock ***@***.***> wrote:
> Noticed this with KinematicBody2D’s get_safe_margin as well.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#16257 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AF-Z2w9qAYVgvdwgQwqCxD2hgS81h6ylks5tQMmygaJpZM4R0j43>
> .
>
|
@reduz functions I tried don't have properties, they should get completion. I noticed about properties, but in my case it just seems like completion is not working in several other situations. |
because you are not supposed to use them anymore, use the properties |
ah, you edited it, if no property exists, regular functions should complete fine. I was refering to get_safe_margin mostly. |
I noticed it does show the completion if you leave one (sometimes two) empty lines after the declaration, before trying to use it. |
that definitely sounds like a bug in gdscript_editor.cpp in the complete
function checking the line
…On Wed, Jan 31, 2018 at 6:06 PM, George Marques ***@***.***> wrote:
I noticed it does show the completion if you leave one (sometimes two)
empty lines after the declaration, before trying to use it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16257 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-Z26DPNBk9EgvYZmaDiCxGGnspqmAjks5tQNXagaJpZM4R0j43>
.
|
Can confirm, I remember it started happening "recently" |
@reduz How do you access the safe margin then? It has the name "collision/safe_margin" which gives me an error when I try to access it. |
@11clock Hmm indeed the doc is confusing about it too http://docs.godotengine.org/en/3.0/classes/class_kinematicbody2d.html#member-variables |
This might be a little off the topic but using a theme file generated with the "Current Editor Theme" option |
Finally the solution I was desperately searching for these 2 days. This issue should be re-opened. |
@Scemenzo what you describe looks like a different bug, please open a new issue with the template filled. |
Godot 3.0 stable
With the following code:
When I type the final dot, nothing comes out.
In 2.1.4 I get auto-complete straight away.
Note 1:
If I write
open("test.txt")
and attempt to Ctrl+Click onopen
, nothing happens.Note 2:
it seems to happen in more places where completion used to work, like
onready
vars assigned withget_node
.The text was updated successfully, but these errors were encountered: