I am experiencing an issue with the ‘Incremental typechecking and autocompletion in studio’ beta feature.
When typing an if statement, I suddenly typed if ... task instead of the normal if ... then,
so when I went to check the autocompletion list it indeed showed this:
Thanks to some help in the post pointing to this beta feature, I turned it off to check and indeed it solved the issue

