You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Add additional explanations and screenshots to steps (#2)
* chore: add *.temp* to .gitignore to exclude temporary files
* fix: clarify instructions for creating a Codespace with default configuration
* fix: update Python version in devcontainer configuration to 3.13
* docs: update instructions for using Copilot Chat with codebase explanation
* feat: add port forwarding for development server in devcontainer configuration
* docs: Add additional explanations/screenshots to step1
* docs: Update comment, add ports screenshot to step 1
* docs: add example suggestion for Copilot usage in introduction step
* docs: Add extra documentation and screenshots for step 2
* docs: Update docs for step3 with screenshots
1. Search for the Copilot Icon on the top right section of your editor.
37
-
Open up Copilot Chat and ask Copilot to introduce you to the project, to do that type `/explain` in the Chat Window.
38
-
<!-- TODO: Add screenshot -->
39
-
1. Run the project by using `Run and Debug` section in the left sidebar of VS Code. Then head to the ports tab and open the application available on port 8000
34
+
Open up Copilot Chat and ask Copilot to introduce you to the project.
35
+
36
+
```txt
37
+
@workspace Briefly explain the structure of the codebase in this repository.
38
+
```
39
+
40
+
1. Run the project by using `Run and Debug` section in the left sidebar of VS Code.
raise HTTPException(status_code=404, detail="Activity not found")
40
+
41
+
# Validate student is not already signed
42
+
if email in activities[activity_name]["participants"]:
43
+
raise HTTPException(status_code=400, detail="Student is already signed up")
44
+
45
+
activity = activities[activity_name]
46
+
47
+
# Add student
48
+
activity["participants"].append(email)
49
+
return {"message": f"Signed up {email} for {activity_name}"}
50
+
```
51
+
</details>
52
+
29
53
> **TIP**: If you would like to see other suggestions, instead of pressing `Tab`, hover over the suggestion and a small panel will show up. On it's right side click the three dots `...` and select `Open Completions Panel`
30
54
31
55
@@ -36,6 +60,7 @@ There are many Copilot Features and interaction modes. In this step you will get
36
60
```
37
61
38
62
On the bottom part of Copilot Chat you can choose what AI Model Copilot should use. Different models can provide different results.
1. You can use Copilot Chat inline to stay in the flow. It's often used when you are dealing with problems or want to understand a specific part of the code.
41
66
@@ -54,6 +79,9 @@ There are many Copilot Features and interaction modes. In this step you will get
54
79
1. On the right side of the commit message window click :sparkles: to generate commit message with copilot
55
80
1. Commit and sync your changes with the automatically generated message
0 commit comments