Earlier quoted context omitted.
I don't share anything with openai/anthropic that I wouldn't feel comfortable pasting into a web search prompt.
So no AI autocomplete I suppose? I assume AI autocomplete may send any part of your code base or even all of it to a third-party.
If I were using it for some hobby project or open source thing I would probably be more open to experimenting with sending random parts of the codebase.