I have noticed this happens quite a lot while editing formulae.
I have a formula in which I am adding an If() to test something before performing the next action.
The formula is underlined because I have split the ForAll() function but not yet completed all required parameters of the If().
For me it is normal to first code the working formula then add validation If()s later once i know the base formula works.
While writing a datasource I press TAB to autocomplete the datasource name.
Instead of filling in the text offered it removes the rest of the formula and tries to force some of the parameters of the other functions into the required parameters of the LookUp function I am currently writing.
What is the expected behavoiur of autocomplete when editing in a formula that is incomplete within another function?
In most coding environments autocomplete usualy only operates on text adjoining the cursor and has no effect beyond the next white space.
Also, is there a to use TAB for indentation of code?
Currently it will always insert an autocomplete even after CTRL ENTER on a blank new line.