hieunc229/copilot-clone

make extension itself get the language by the extension of the file and append that itself

chirag127 opened this issue · 0 comments

Issue: I have to append python to every query. it is repetitive?

I don't think it will be difficult, get full path of file https://stackoverflow.com/questions/39569993/vs-code-extension-get-full-path and then extract extension of file. I hope you can check the name of the language by extension and change the query from //find *. to //find *{language name}.