Asking Copilot about your workspace

  Рет қаралды 6,345

Visual Studio Code

Visual Studio Code

Күн бұрын

Just downloaded a new project and wondering how to get started contributing, or have a question about an existing codebase? This session shows how you can effectively ask Copilot about code in your workspace
Resources:
GitHub Copilot @workspace: githubnext.com...
GitHub Copilot's @workspace: A Deep Dive: • GitHub Copilot's @Work...

Пікірлер: 8
@samhblackmore
@samhblackmore 2 ай бұрын
Wait did he say you can adjust the context passed to a prompt? Is this a manual process where I could specify the line numbers in specific files? Or do I have to include that in my prompt? And if it's by prompt, can I just include file paths and line numbers in my prompt?
@tekskilldev8310
@tekskilldev8310 3 ай бұрын
@workspace when activated does not need to paste code snippet just highlight the code in the file such as app.js and tell workspace that code is highlighted. This is enough for the workspace to know the context of the code and you will receive relevant code suggestions/explanations to your questions. I have experimented this and would like to know anything otherwise. thanks
@wallcasey52
@wallcasey52 3 ай бұрын
How does this work when, inside of the project, you have put something like a TON of json files or something like that and increase the context size? For example: Someone is testing a machine learning model and just puts the data in the main project folders.
@papunmohanty2291
@papunmohanty2291 3 ай бұрын
is this feature opensource? or do we need to pay for it?
@SnowyMango
@SnowyMango 3 ай бұрын
Why make the developer type @workspace. Why not just do it automatically in the background.
@wallcasey52
@wallcasey52 3 ай бұрын
@SnowyMango He explained that. The reason is about the context. You do not want to feed a natural language processing system the entire project if you just have a small question about the code you are working with. Currently the Copilot uses what is selected (on the current file) or the selections around your cursor. The feeding of the entire project takes much longer (especially on huge projects) and could be very helpful sometimes but not others. It is all about context and realizing what context you are asking your question in.
@Luther_Luffeigh
@Luther_Luffeigh 3 ай бұрын
A video about workspaces that most developers don’t have access to
@DududuDance
@DududuDance 3 ай бұрын
It's about "@workspace" the tag in normal copilot. It's not about the new feature that many don't have yet.
Coding with AI: 8 Tips for Using GitHub Copilot
29:59
The Eclectic Dev
Рет қаралды 4,9 М.
Generating Synthetic Datasets with GitHub Copilot
32:56
Visual Studio Code
Рет қаралды 4,7 М.
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 10 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 54 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Beyond the Editor: Tips to get the Most out of GitHub Copilot
30:39
Visual Studio Code
Рет қаралды 5 М.
The New Option and Result Types of C#
15:05
Nick Chapsas
Рет қаралды 67 М.
Microsoft 365 Copilot: Wave 2 | Microsoft September 2024 Event
27:39
40 Years Of Software Engineering Experience In 19 Minutes
19:10
Continuous Delivery
Рет қаралды 69 М.
This VS Code AI Coding Assistant Is A Game Changer!
14:27
codeSTACKr
Рет қаралды 192 М.
Essential AI prompts for developers
8:31
Visual Studio Code
Рет қаралды 66 М.
Free AI in VS Code (Better Than GitHub Copilot)
19:28
LearnWebCode
Рет қаралды 17 М.
Building your own GitHub Copilot chat participant in VS Code
13:02
Visual Studio Code
Рет қаралды 7 М.
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 10 МЛН