/vscode-autocorrect

✨ Use CodeBERT to power an autocorrect VSCode extension

Primary LanguageTypeScriptMIT LicenseMIT

VSCode Autocorrect

This project was created at YHack Mini 2022, by Abhijit Gupta and Mofeed Nagib. We attempted to use CodeBERT and other large language models to integrate autocorrect into the VSCode IDE. This project is currently a prototype and shouldn't be used in production.

For local development, run the FastAPI Server on port 5000 (see /backend folder). Then open the vscode/autocorrect folder in VSCode and activate the extension (Press F5). To generate autocorrect suggestions, create a test file (Python, JavaScript, Java, C, or C++) and enter incorrect code. These errors can be either mechanical (typos) or logical. Move the cursor within a line of the error and alter text to trigger the autocorrect function.

See below for some examples of the extension at work!

image

image

image

image