What it does
The extension reads what lines the programmer cannot see. Then in those hidden lines it makes a list of all the variables using regex, it then choses one at random. The variable name is fed to the openAi API with the prompt to make it longer, uselessly long but still coherent. Then the new variable name is replaced everywhere in the page. The same thing happens with functions but instead of changing names it adds a comment to the function that is supposed to be useless. The changes happen every hour so that the programmer doesnt notice right away.
How we built it
Basic typescript with the extension builder of VsCode and the OpenAi API
What's next for Code Polisher
Right now it just works for JavaScript so it would be nice to have something more general.
Log in or sign up for Devpost to join the conversation.