JudiniLabs / code-gpt-docs

Docusaurus page
https://code-gpt-docs.vercel.app
MIT License
582 stars 63 forks source link

CodeGPT refuses to generate code for a line comment #367

Open pcgeek86 opened 2 months ago

pcgeek86 commented 2 months ago

Summary

I can't get the extension to generate some Rust code from a comment.

Repro Steps

  1. Create a Rust project cargo new blah
  2. Open main.rs and add a line comment // Create a function that creates 10 random text files and uploads them to an Amazon S3 bucket
  3. Use the CodeGPT: Get code from comments command
  4. Error appears in the lower-right of VSCode

Create a comment and leave the cursor at the end of the comment line

image