That seems possible with a strongly-typed language, but for something like Python, they'd basically have to recompile the code on every keystroke, right?
Re:Kite – Programming Copilot
by aeorgnoieang on Thursday April 14, 2016 @04:22PM
(#11500043)
Wouldn't they basically need to do this (compile the code) even if they have all of it?
Even if that is a step too far, you could strip out string literals (e.g. API keys), and obfuscate variable, method, type, and file names while retaining a map on the client side so results line up.