
SMcCormick148888 (Community Member) asked a question.
I am trying to scan files/folders in Visual Studio Code for a javascript/typescript React application. Downloaded the plugin (fine). put the credentials in the .veracode folder (fine, I think) but I do not see the proper "v" icon. I do get the "Scan with Greenlight" menu option on a a right click. When I select that for a file or folder I get: "Veracode Greenlight could not scan [file here] becasue it does not contain any code. Select a valid file and try again." Also a warning popsup in the notifications that says "Veracode Greenlight scan failed due to connection problems. Verify your connection and try again." Anyone have any insights into the potential problem? did I miss a step?
.png)
Thanks Shuning! I verified the the API ID and Key (I am using them in Intellij for my Veracode scans and it is working like a charm). I was attempting to check both typescript (.TSX) and javascript files (.JS), which I believe are supported. I should clarify that this is for VS Code, not straight Visual Studio. The link I used to install and attempt the scan was: https://help.veracode.com/r/c_scanning_with_vs_code.
I was able to scan my files by zipping up my "src" directory and scanning it directly in Veracode, which worked fine.
Thanks,
Stephen