Codespy AI Detector for Source Code ReadmeCodespy AI Detector is a tool for finding AI generated code in one or more source code files. This extension allows you to scan your source files in Visual Studio Code for AI. If Codespy finds any functions or methods that appear AI generated, it will highlight their signatures in red or yellow. Quick StartBefore using the Codespy extension, you will need to register at codespy.ai and get a token. Follow the steps below to do that:
That's it! Now, you can scan a file by opening it. Or you can right-click in the Explorer and choose "Scan for AI with Codespy". FeaturesCodespy AI Detector works with Java, Python, JavaScript, C#, C++ and PHP code. It is configured to automatically scan files of these types when they are opened. You can also right-click in the Explorer window and choose "Scan file for AI with Codespy" to scan any other supported file. By default Codespy highlights in red or yellow the signature of any method or function that appears AI generated. This is to avoid over-highlighting the code. In the extension settings, you can set it to highlight the entire function instead. Extension Settingscodespy.token - The token you use to access Codespy. See above for how to get a token. codespy.colorSingleLine - True if you want to highlight only the first line of methods that contain AI. False if you want to highlight the whole thing. codespy.scanOnOpen - True if you want to scan supported files when they are opened. Otherwise, you must scan from the context menu in Explorer. Release NotesBelow are the release notes. 1.0.0Initial Release |