Skip to content

✨ Use CodeBERT to power an autocorrect VSCode extension

License

Notifications You must be signed in to change notification settings

avgupta456/vscode-autocorrect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

✨ Use CodeBERT to power an autocorrect VSCode extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published