Function scope in arduino .ino files

In the Arduino environment, the .ino file should be preprocessed so that the declaration functions are not needed.

I would expect PlatformIO to recognize the .ino extension and do the same.

But it is not totally the case. Some of the functions are recognised, some other not.

error: ‘vito_upd’ was not declared in this scope

What is the current status of PlatformIO on this point ?
Will the issue be solved ?

Thanks