very useful can we use for build and deploy for pipeline
@ambilykk8 ай бұрын
Copilot Enterprise released on 27th of this month may address this requirement in future. Currently, you can do Code Review using Copilot in IDE only. Please refer the feature comparison at github.com/features/copilot
@sanketkhandekar22218 ай бұрын
@@ambilykk Thank you can we do code review for entire workspace ?
@ambilykk8 ай бұрын
Hello @sanketkhandekar2221 , you can ask Copilot to review multiple files using the #file context variable. But, always it is good to review one file at a time. An example prompt looks like @workspace review code in #file:binary-search.py and #file:numberVerifier.py using coding standards defined at #file:py-naming.json Upcoming Code review feature in Copilot Enterprise will review multiple files as part of the PR.
@sanketkhandekar22218 ай бұрын
@@ambilykk Ok thank you this annonation is not working correctly it is saying give me peace of code
@ambilykk8 ай бұрын
Hello @sanketkhandekar2221 , don't copy the prompt as it is; instead use the @workspace agent and #file context variable for picking the file. Sometimes, copy of #file will not work, you should type #file and tab to select the actual file. Please refer the Context variables video at kzbin.info/www/bejne/nnusmGuifNl8iLc
@rafaelbertelli892 ай бұрын
amazing content
@ambilykk2 ай бұрын
@rafaelbertelli89 , I am glad you found it helpful. Thanks for watching.
@deepakduvedi70753 ай бұрын
copilot doesn't pick all the rules in a single go and return random rules applied every time, any idea on this?
@ambilykk3 ай бұрын
Hello @deepakduvedi7075, it may be an issue with the coding standard file or prompt. Could you please review the Standard file - you can use copilot to construct one with specific rules and format.
@deepakduvedi70753 ай бұрын
@@ambilykk when i re-prompt why you haven’t applied certain rules, it replies I overlooked them and then it applies. Rules file is correct multi time i have to ask and it applies all then :(
@ambilykk2 ай бұрын
@deepakduvedi7075 , Copilot's response is influenced by the context and the prompt you provide. To get the most accurate results, review your initial prompt and make it more detailed and specific, covering all necessary rules and requirements. Just like when asking a colleague for help, the more precise your request, the more accurate the response will be.
@sanketkhandekar22218 ай бұрын
can we invoke this
@ambilykk8 ай бұрын
Hello @sanketkhandekar2221, if you are looking for an API, it is not available now.
@sanketskhandekar8 ай бұрын
Ok Thank you .
@koncht256 ай бұрын
Very useful. Where can i find other videos about code review (functional reivew.....)
@ambilykk6 ай бұрын
Thank you @koncht25. Currently I have few videos related to Code review; will upload new ones soon. Please refer to the current videos in the playlist GitHub Copilot for Code Review: kzbin.info/aero/PLIPPtc5KlYDPWPVz2RuT1aAerbnzlro1A