GitHub Copilot in VSCode: Top 10 Features Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น • 68

  • @MaxRohowsky
    @MaxRohowsky  11 หลายเดือนก่อน +10

    Did I miss any features? Let me know below :)

    • @FateflyYip
      @FateflyYip 5 หลายเดือนก่อน

      Hi Max, do i need to purchase the subscription before i can use copilot?

    • @ssgill
      @ssgill 3 หลายเดือนก่อน +1

      @@FateflyYip Yes at a minimal is 10 dollars a month for an individual.

  • @sureshpaulrajan44
    @sureshpaulrajan44 11 วันที่ผ่านมา +1

    Nice video, I use a few stuff which you have not mentioned
    1. Write Test cases
    2. Write documentation
    3. Select a function in code editor space, and ask a fix on it or make an enhancement on it - in the chat window - This can be used when @workspace context is not needed, as in most cases
    4. /explain to explain the selected snippet of code in detail - useful for undocumented code, it can be combined with @workspace to find usages and code change impacts

  • @serhiikrechko
    @serhiikrechko 9 หลายเดือนก่อน +6

    Thank you for the video. It's great to use the @workspace feature.

  • @andrababunaidu4074
    @andrababunaidu4074 7 หลายเดือนก่อน +2

    I liked the unit test cases creation feature using /test command

    • @MaxRohowsky
      @MaxRohowsky  7 หลายเดือนก่อน +1

      interesting... haven't seen that yet

  • @michaelgutkin417
    @michaelgutkin417 11 หลายเดือนก่อน +5

    Very informative, thank you!

    • @MaxRohowsky
      @MaxRohowsky  10 หลายเดือนก่อน

      glad i could help :)

  • @timnilson
    @timnilson 8 หลายเดือนก่อน

    Very good video. I was wondering about the @workspace stuff. Thank you!

    • @MaxRohowsky
      @MaxRohowsky  8 หลายเดือนก่อน

      yes, workspace helps to give context :)

  • @eladwarshawsky7587
    @eladwarshawsky7587 10 หลายเดือนก่อน +1

    When fixing is there a feature to add relevant stack overflow or Google search results as context?

  • @wholesalelogic4798
    @wholesalelogic4798 11 หลายเดือนก่อน +2

    How are you getting that star icon in terminal, I cant see it anywhere, do I need to enable something?

    • @MaxRohowsky
      @MaxRohowsky  11 หลายเดือนก่อน

      I think it only appears when there is an error in the terminal. You only need github copilot enabled and it should be there by default

  • @soldadopreciso
    @soldadopreciso 10 หลายเดือนก่อน

    Thanks you, very useful video tutorial, go ahead pal.

  • @ettorecar9317
    @ettorecar9317 9 หลายเดือนก่อน

    Sei stato il più esaustivo.....grazie.

  • @tusharmehtadxb
    @tusharmehtadxb 8 หลายเดือนก่อน

    Short and sweet explanation ❤
    Does it support writing code for codeigniter 4 ?

    • @MaxRohowsky
      @MaxRohowsky  8 หลายเดือนก่อน

      hey, thanks :) hmm unfortunately I'm not familiar with codeigniter...

  • @doullagado
    @doullagado 9 หลายเดือนก่อน

    Could I disable the copilot autosuggestion and call it at some point with a keyboard shortcut when I need it??

    • @Bogdanisar
      @Bogdanisar 8 หลายเดือนก่อน

      Yes, you can.
      - First disable the automatic invocation of inline copilot by going to:
      Visual studio code settings > Extensions > Copilot > "Editor: Enable Auto Completions" > Untick the setting.
      - Second, make sure you have a keyboard shortcut assigned for the "Trigger inline suggestion" action. This is usually "Alt + \" on Windows or "Option + \" on Mac by default. If you don't have a shortcut, then you can set one in the Keyboard Shortcuts section of Visual Studio Code.
      Note: Even if you tell Copilot that you want a suggestion by pressing the shortcut, it doesn't always have a suggestion for you at that line in the code so nothing will happen in that case.

    • @doullagado
      @doullagado 8 หลายเดือนก่อน

      Thanks@@Bogdanisar

  • @shahonsoftware
    @shahonsoftware 8 หลายเดือนก่อน

    Most helpful shortest video!!!

    • @MaxRohowsky
      @MaxRohowsky  8 หลายเดือนก่อน

      glad it was helpful! :)

  • @squirrel_plays_fof4318
    @squirrel_plays_fof4318 หลายเดือนก่อน

    Helpful, thanks man

  • @animationnation
    @animationnation 11 หลายเดือนก่อน +1

    Isn't there a feature where in the commandline you can run something like "/ create flask app" and it creates all the required files?

    • @FreeEasyAI
      @FreeEasyAI 11 หลายเดือนก่อน +1

      The /new keyword in chat. Type /new scaffold flask app

  • @Andy_B.
    @Andy_B. 10 หลายเดือนก่อน

    Hi,
    how do I let it index multiple files (like for a website project),
    and ask it to do modfications in them?!
    ...like, add multiple sign up options (gmail/fb account).
    Thanks for the insight.

  • @Jaybearno
    @Jaybearno 10 หลายเดือนก่อน

    Any tips on how to tell copilot to chill out on function arg completion? It hallucinates nearly half of the arg completions- intellisense is much more useful unless there's a way to tune this.

  • @soubounsou5358
    @soubounsou5358 10 หลายเดือนก่อน

    Sehr gut erklärt. Danke

    • @MaxRohowsky
      @MaxRohowsky  10 หลายเดือนก่อน

      Tach und Danke! 😁

  • @randy918
    @randy918 10 หลายเดือนก่อน

    Can the chat window be an isolated window? like has been added lately to vsc?

    • @MaxRohowsky
      @MaxRohowsky  10 หลายเดือนก่อน

      hey randy, that feature wasn't implemented last time I used copilot unfortunately

    • @aallxxmf
      @aallxxmf 10 หลายเดือนก่อน +1

      I recently tested it and you can isolate the window!

  • @omanshsharma6796
    @omanshsharma6796 11 หลายเดือนก่อน

    thanks, that was really helpful!!

  • @Madhu-r2y
    @Madhu-r2y 18 วันที่ผ่านมา

    Hi @MaxRohowsky - Can you make a video showing how to translate a code from one language to another language. May be from Scala to python?

  • @gilbertslam
    @gilbertslam 10 หลายเดือนก่อน

    In Github Copilot Chat, how do I remove the error "No parent node found" message when the /fix command fails?

  • @rahuldinesh2840
    @rahuldinesh2840 8 หลายเดือนก่อน

    Automatic suggestion fo github codes?

    • @MaxRohowsky
      @MaxRohowsky  8 หลายเดือนก่อน

      yes, that's helpful too

  • @AjayV-c3q
    @AjayV-c3q 2 หลายเดือนก่อน

    How to off Automatic suggestion for github codes? coz I want to code my own.

  • @ArthurSimon-ij2sk
    @ArthurSimon-ij2sk 9 หลายเดือนก่อน

    Cmd+Shift+I on my Mac doesn't work for some reason

  • @skalaiselvan17
    @skalaiselvan17 10 หลายเดือนก่อน

    we can write test cases and add documentation

    • @MaxRohowsky
      @MaxRohowsky  10 หลายเดือนก่อน

      Yes, true. Writing test cases manually was always quite cumbersome

  • @zulupox
    @zulupox 10 หลายเดือนก่อน

    Very informative, exactly what I needed!
    The @workspace does not seem to work with the project I'm working in. Maybe it is too large? Over 1.2 million LOC lua

    • @MaxRohowsky
      @MaxRohowsky  10 หลายเดือนก่อน +1

      Yea, workspace is a mystery sometimes. I also have issues with it sometimes.

    • @taquito5242
      @taquito5242 10 หลายเดือนก่อน +1

      it is VERY large, so yes, most likely source of error

    • @zulupox
      @zulupox 10 หลายเดือนก่อน +1

      @@MaxRohowsky Thank you :)

    • @zulupox
      @zulupox 10 หลายเดือนก่อน

      @@taquito5242 Yeah tell me about it. I need an AI to keep track of how it all fits together 😂 Then again...

  • @archiep9162
    @archiep9162 10 หลายเดือนก่อน +2

    wish there was one like this for Visual Studio!

  • @devkumar9889
    @devkumar9889 11 หลายเดือนก่อน

    Man , I didn't knew it supports native lang and its easy to query in native lang

  • @Robertking1996
    @Robertking1996 7 หลายเดือนก่อน +1

    This is great

    • @MaxRohowsky
      @MaxRohowsky  7 หลายเดือนก่อน +1

      glad it helped :))

  • @lozD83
    @lozD83 8 หลายเดือนก่อน +4

    Fun fact: it's just called a hash. "Hash tag" is a social media concept of tagging posts using a tag, not the name of the symbol

    • @MaxRohowsky
      @MaxRohowsky  8 หลายเดือนก่อน +1

      haha yes, true. I'm somehow used to saying hashtag 😂

  • @MuraliKrishna123
    @MuraliKrishna123 หลายเดือนก่อน

    Correct The Spelling fro "Fix It "

  • @chrille91
    @chrille91 7 หลายเดือนก่อน

    For me, the q-syntax doesn't work.
    Even though I can chat with Copilot using the chat window and Copilot making suggestions in my code while typing, I don't get an answer after typing the question as shown in Tip 1). Any idea why?

    • @MaxRohowsky
      @MaxRohowsky  7 หลายเดือนก่อน +1

      hey, yes, I think I know what the issue could be. Check what coding language you're using. The q needs to be in a comment. In python you make them with hashtags # but in other languages you dont.

    • @chrille91
      @chrille91 7 หลายเดือนก่อน

      @@MaxRohowsky Thanks for your answer! Unfortunately, that's not the reason. I'm currently programming in Python using Jupyter Notebooks in VS Code. But I'm using Windows and I have a friend using Windows, too who has the same problem, while another friend uses Mac and can use the syntax just fine.

  • @haricharanvalleru4411
    @haricharanvalleru4411 7 หลายเดือนก่อน

    helpful video

    • @MaxRohowsky
      @MaxRohowsky  7 หลายเดือนก่อน

      awesome. glad it helped (:

  • @ashtokman
    @ashtokman 6 หลายเดือนก่อน +1

    So far the Copilot is pretty useless with complex projects - it might be helpful with small and simple ones only. But I don't lose the hope... I believe it will be there in a year or two... :)

  • @sadikmohmedsadikmohmed-xt1xi
    @sadikmohmedsadikmohmed-xt1xi 4 หลายเดือนก่อน

  • @axeldaguerre7309
    @axeldaguerre7309 11 หลายเดือนก่อน +3

    It's funny to me that 90% of it is here since decades. Like the where is my reference stuff. Maybe it wasn't your goal, but I would highly prefer to see these features against complex stuff instead.
    Because if this tool does not handle complex question, it is currently useless. Like asking a general question in copilot that is more constraint than a web search is pointless as you narrow the possible answers and you gain no time (switch tab and internet is so fast).
    IMO if the tool doesn't improve a lot in term of correctness, intuitive use (and fast), it will never be useful for anyone writing complex code. In term of learning, it's quite good instead, like you can smooth the learning of a new programming language a lot, or as a very beginner, you can feel less friction by never leave your code editor and having a sort of personal teacher is great. Personal teacher is one of the main field where it must go, like khan academy does.
    Of course as these tools improve *a lot* in the decades to come, my personal opinion will change

    • @xSchockZz
      @xSchockZz 11 หลายเดือนก่อน

      He showed generel functions, not the accuracy of github copilot.
      You say that 90% was here before. Did you use copilot so far to know what it does and where it helps?
      Ur probably right, but the copilot helps u find those information way quicker and also shortens a lot of codetyping.

    • @chomage84chomage84
      @chomage84chomage84 10 หลายเดือนก่อน +1

      that's cope.

    • @axeldaguerre7309
      @axeldaguerre7309 10 หลายเดือนก่อน

      Your answer didn't make me think differently, and I won't make more descriptions of my thinking. LLM can solve some problems we have, like a checker for an obvious error you have in your code, but the features are really not where we should celebrate them or even advise people to use them (as they are worse). Searching for something in my code is like 10x faster than this without adding the experience you will gain in navigating when you do it, and your brain will make a model of the complexity the source code may have.
      @xSchockZz ​

  • @serdotsenko
    @serdotsenko 10 หลายเดือนก่อน

    brilliant