Mastering Code Reviews with GitHub Copilot: Coding Standards Demystified (Part 1)

  Рет қаралды 11,145

TechRill

TechRill

Күн бұрын

Пікірлер: 19
@VishalGoyal18
@VishalGoyal18 8 ай бұрын
Extremely useful tutorial Amily
@ambilykk
@ambilykk 8 ай бұрын
Glad it was helpful!
@sanketkhandekar2221
@sanketkhandekar2221 8 ай бұрын
very useful can we use for build and deploy for pipeline
@ambilykk
@ambilykk 8 ай бұрын
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
@sanketkhandekar2221
@sanketkhandekar2221 8 ай бұрын
@@ambilykk Thank you can we do code review for entire workspace ?
@ambilykk
@ambilykk 8 ай бұрын
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.
@sanketkhandekar2221
@sanketkhandekar2221 8 ай бұрын
@@ambilykk Ok thank you this annonation is not working correctly it is saying give me peace of code
@ambilykk
@ambilykk 8 ай бұрын
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
@rafaelbertelli89
@rafaelbertelli89 2 ай бұрын
amazing content
@ambilykk
@ambilykk 2 ай бұрын
@rafaelbertelli89 , I am glad you found it helpful. Thanks for watching.
@deepakduvedi7075
@deepakduvedi7075 3 ай бұрын
copilot doesn't pick all the rules in a single go and return random rules applied every time, any idea on this?
@ambilykk
@ambilykk 3 ай бұрын
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.
@deepakduvedi7075
@deepakduvedi7075 3 ай бұрын
@@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 :(
@ambilykk
@ambilykk 2 ай бұрын
@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.
@sanketkhandekar2221
@sanketkhandekar2221 8 ай бұрын
can we invoke this
@ambilykk
@ambilykk 8 ай бұрын
Hello @sanketkhandekar2221, if you are looking for an API, it is not available now.
@sanketskhandekar
@sanketskhandekar 8 ай бұрын
Ok Thank you .
@koncht25
@koncht25 6 ай бұрын
Very useful. Where can i find other videos about code review (functional reivew.....)
@ambilykk
@ambilykk 6 ай бұрын
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
Custom Coding Standards with GitHub Copilot
7:45
TechRill
Рет қаралды 2,6 М.
GitHub Copilot Best Practices within Visual Studio
12:33
Microsoft Visual Studio
Рет қаралды 13 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 297 МЛН
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
Copilot Chat in Visual Studio Code | GitHub Universe
9:48
GitHub
Рет қаралды 102 М.
I Tried Every AI Coding Assistant
24:50
Conner Ardman
Рет қаралды 844 М.
Enhancing C++ development with Copilot Chat
30:58
Microsoft Visual Studio
Рет қаралды 1,8 М.
GitHub Copilot Extension: Image Insight
26:44
TechRill
Рет қаралды 593
GitHub Copilot Extensions : Build Your First Extension
16:55
Getting Cursor AI to Review Its Own Code
11:43
Yifan - Beyond the Hype
Рет қаралды 2,2 М.
Using GitHub Copilot in Visual Studio 2022!
19:51
Will Velida
Рет қаралды 3,8 М.
CoPilot Review: My Thoughts After 6 Months
9:45
ThePrimeagen
Рет қаралды 554 М.
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН