{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/5972","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/5972/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/5972/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/5972/events","html_url":"https://github.com/godotengine/godot/issues/5972","id":168463001,"number":5972,"title":"GDscript keywords are automatically replaced by something irrelevant","user":{"login":"JulienGio","id":20727749,"avatar_url":"https://avatars0.githubusercontent.com/u/20727749?v=4","gravatar_id":"","url":"https://api.github.com/users/JulienGio","html_url":"https://github.com/JulienGio","followers_url":"https://api.github.com/users/JulienGio/followers","following_url":"https://api.github.com/users/JulienGio/following{/other_user}","gists_url":"https://api.github.com/users/JulienGio/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienGio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienGio/subscriptions","organizations_url":"https://api.github.com/users/JulienGio/orgs","repos_url":"https://api.github.com/users/JulienGio/repos","events_url":"https://api.github.com/users/JulienGio/events{/privacy}","received_events_url":"https://api.github.com/users/JulienGio/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":279098219,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44","default":false},{"id":279098082,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:gdscript","name":"topic:gdscript","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-07-30T11:28:30Z","updated_at":"2018-04-11T08:18:02Z","closed_at":null,"author_association":"NONE","body":"_This is a generalised version of the #5964_ \nAfter posting issue #5964 and seeing @rgrams 's comment, I decided to look a little bit more into the problem. \n\n**Operating system or device - Godot version:**\nWindows(does not matter), Godot 2.1RC1\n\n**Issue description** (what happened, and what was expected):\nWhenever you type a keyword(`pass`, `true`, ...) the editor suggests another unrelated function or constant. This problem is especially irritating if the keyword is followed by a newline because it automatically replaces the keyword in question.\nI went through most GDscript key word and noted what happened\nThe results: https://docs.google.com/spreadsheets/d/1nfh7Pw-5Qts0CBBN3okk6Y8CDsofJLlC07oTZfL6Wxo/edit?usp=sharing\nTurns out, the engine never suggests any keyword and sometimes replaces them with surprising results...\n\n**Link to minimal example project** (optional but very welcome):\nexample with `return` :\n![ss](https://cloud.githubusercontent.com/assets/20727749/17269792/a989e240-5652-11e6-8fdb-0e4b06816a30.jpg)\n\nPS: this should be a quick fix, I hope it makes into RC2 or 2.1 stable :)\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/380368192","html_url":"https://github.com/godotengine/godot/issues/5972#issuecomment-380368192","issue_url":"https://api.github.com/repos/godotengine/godot/issues/5972","id":380368192,"user":{"login":"Calinou","id":180032,"avatar_url":"https://avatars3.githubusercontent.com/u/180032?v=4","gravatar_id":"","url":"https://api.github.com/users/Calinou","html_url":"https://github.com/Calinou","followers_url":"https://api.github.com/users/Calinou/followers","following_url":"https://api.github.com/users/Calinou/following{/other_user}","gists_url":"https://api.github.com/users/Calinou/gists{/gist_id}","starred_url":"https://api.github.com/users/Calinou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calinou/subscriptions","organizations_url":"https://api.github.com/users/Calinou/orgs","repos_url":"https://api.github.com/users/Calinou/repos","events_url":"https://api.github.com/users/Calinou/events{/privacy}","received_events_url":"https://api.github.com/users/Calinou/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T08:18:02Z","updated_at":"2018-04-11T08:18:02Z","author_association":"MEMBER","body":"**Bugsquad note:** This bug is still present as of commit https://github.com/godotengine/godot/commit/4d787869e189b670d609f33c308991741592e40a.\r\n\r\n![gdscript_autocomplete_return](https://user-images.githubusercontent.com/180032/38604704-7ed90afa-3d71-11e8-89e9-1ee14b37fb49.png)"}}
{"actor":{"display_login":"Calinou"}}