Minimal example of Tab autocomplete across two files

So there’s this feature announced quite a long time ago already, according to which Cursor’s Tab feature supposedly can suggest an edit to another file, based on current context.

Despite using Cursor often, and always being on the latest version, I have yet to see this in action even once.

What are the minimal requirements for Tab feature to do that? Some short example that I can copypaste and try out?