Closed jribbink closed 1 year ago
Thank you for your help. Yet the program doesn't read src/media/example_prompt_config.json
anymore, instead, you may check package.json to see how to customize the prompt for specific language.
In the future, requests to add language support should contribute to supportedProgrammingLanguages.ts.
@EasonC13 I think the release today accidentally released an older version of the extension because it doesn't look like Cadence is supported (and when I look at the code locally when I install the v0.0.109, there "cadence" is not a supported language).
Hoping this can be fixed so this can be shared with the community 😄 . Thanks for your help!
@jribbink I updated the code again in https://github.com/GPTutor/gptutor-extension/commit/930c0e7736ff18121560f139fd12411ff572433a
Now we don't need an array to manage the supported code language. GPTutor will be active in all Languages by default. Please try again with v0.0.110
Thank you!
Hey @RayHuang880301! Really like the extension and think it's a super cool idea 😎. Hoping to make a PR to add Cadence for the Flow Blockchain as a supported language.
I have tested it in a .cdc file and it appears to work well. Let me know if there's anything else you need me to add!