Using the tab auto completion, I observed something here:
1、If I open a new file, and there is no other editor tabs, the suggested codes from the tab auto completion is not so good. For example, the function in the suggested codes is faked which means there is no such function in the codebase.
2、Then after I open some files which contains the correct constants and functions, I return to the open file, and this time, the suggested codes seems good which conform to the existing codes in the opening tabs.
So every time before coding, I choose to manually open some code files to keep the tab auto completion accurate.
I guess the tab auto completion must have some context in every suggestion, from the opening file or somewhere else.
If my guess is true, can we make the context configurable for the tab auto completion, to remind the auto completion something important in the codebase. For example, in the Cursor configuration, we can add some code files into the tab auto completion context so that the tab auto completion can take these codes into consideration.