microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
342 stars 37 forks source link

Provide ability to select symbols #2281

Open cloudbow opened 2 weeks ago

cloudbow commented 2 weeks ago

Please provide the ability to select the symbols and let the symbols be automatically selected when dveloper types in the chat . I as a programmer can mix the natural language with program symbols like class names and method names. This will make the chat continous. Using #file to inclue everything in the file is not intuitive and will cause me to be tired of pickup up them, rather I would suggest let copilot itself do this when I types . I will make sure that I type the first few letters of a symbol whenever I want.

eg; it seems from my observatin that for a folder which does not use a large number of libraries the amount of memory taken up by mypy is less. When the mypy_install_types_cmd has larger number of librairs and hence larger number of types to handle, naturally the total types will be large. And it seems that when the no of types are large the amount of memory required for running mypy on a small file(small number of lines) vs a large file(large no of lines) is one and the same. So what we may need to do is to have a run on 1 python file to collect the memory required for running run_mypy_for_file after run_mypy_install_types . We need to determine how much is 85% of memory of that linux machine and use that to calculate the total no of mypy files that can be executed in parallel which is nothing but the num_batches .

roblourens commented 1 week ago

You can use the 📎 to attach a Symbol, but we don't currently have a way to do the same thing as #file in a prompt.

I understand that request, however I don't understand the second part of your request at all, sorry, what are you asking for there?