Skip to content

Commit 938cfa3

Browse files
committedApr 28, 2021
fix(Introduction): Restoring Navigation Around
Closes EDC-369
1 parent f4a24f4 commit 938cfa3

27 files changed

+204
-0
lines changed
 
52.3 KB
Loading

‎Introduction/Course View/main.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if __name__ == "__main__":
2+
# Write your solution here
3+
pass
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
type: theory
2+
files:
3+
- name: main.py
4+
visible: true
5+
- name: edu_course_view.png
6+
visible: false

‎Introduction/Course View/task.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Course View
2+
3+
<b>Course View</b> shows you the course syllabus: a list of lessons with tasks.
4+
5+
<style>
6+
img {
7+
display: block;
8+
margin-left: auto;
9+
margin-right: auto;
10+
}
11+
</style>
12+
<img src="edu_course_view.png" class="center" width="75%"/>
13+
14+
You can navigate to any task by double-clicking its name.
15+
16+
To hide the Course View window, click the Project Tool Window button or press <span style="color: #509DD6">&shortcut:ActivateProjectToolWindow;</span>. This will give you more space for the Editor and Task Description windows.
17+
18+
To show the hidden Course View window, click the Project Tool Window button (or press <span style="color: #509DD6">&shortcut:ActivateProjectToolWindow;</span>) again.
129 KB
Loading

‎Introduction/Editor/edu_editor.png

73.6 KB
Loading

‎Introduction/Editor/main.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if __name__ == "__main__":
2+
# Write your solution here
3+
pass

‎Introduction/Editor/task-info.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
type: theory
2+
files:
3+
- name: main.py
4+
visible: true
5+
- name: edu_context_menu_run.png
6+
visible: false
7+
- name: edu_editor.png
8+
visible: false

‎Introduction/Editor/task.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Editor
2+
3+
The <b>Editor</b> is your playground where you will be programming. You can experiment here while you work on the theoretical tasks and quizzes without being checked.
4+
5+
For programming assignments, the Editor is where you’ll fix the existing code or write your own code from scratch. This code will be checked.
6+
7+
<style>
8+
img {
9+
display: block;
10+
margin-left: auto;
11+
margin-right: auto;
12+
}
13+
</style>
14+
<img src="edu_editor.png" class="center" width="100%"/>
15+
16+
17+
To run your code at any time, choose the Run option from the context menu or press <span style="color: #509DD6">&shortcut:Run;</span>:
18+
19+
<img src="edu_context_menu_run.png" class="center" width="100%"/>
20+
21+
22+
If you want to go back to the Editor and focus on your code, the fastest way to do it is with the Hide All Windows command (<span style="color: #509DD6">&shortcut:HideAllWindows;</span>). To get all the windows back, repeat the command.
Loading
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if __name__ == "__main__":
2+
# Write your solution here
3+
pass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
type: theory
2+
files:
3+
- name: main.py
4+
visible: true
5+
- name: edu_course_overview.png
6+
visible: false
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## EduTools plugin overview
2+
3+
This lesson will help you take your first steps with the [EduTools plugin](https://www.jetbrains.com/help/education/educational-products.html) and use it to learn Python.
4+
5+
With the EduTools plugin, you can learn programming languages and tools by completing coding tasks, and get instant feedback right inside the IDE.
6+
7+
Enough talking – let's get started!
8+
9+
If you're already familiar with the interface, you can skip this lesson.
10+
11+
### Working with courses
12+
Every course available in EduTools is structured as a list of lessons. Lessons, in turn, can be grouped into sections. Each lesson contains several tasks.
13+
14+
When you open a course, you will see the main tool windows used for navigation: <b>Course View</b>, <b>Editor</b>, and <b>Task Description</b>:
15+
16+
<img src="edu_course_overview.png" width="100%"/>
17+
18+
Click the "Next" button to navigate to the next task.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

‎Introduction/Task Description/main.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if __name__ == "__main__":
2+
# Write your solution here
3+
pass
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
type: theory
2+
files:
3+
- name: main.py
4+
visible: true
5+
- name: images/back.svg
6+
visible: false
7+
- name: images/commentTask.svg
8+
visible: false
9+
- name: images/edu_next_button.png
10+
visible: false
11+
- name: images/edu_peek_solution.png
12+
visible: false
13+
- name: images/reset.svg
14+
visible: false
15+
- name: images/forward.svg
16+
visible: false
17+
- name: images/gear.svg
18+
visible: false
19+
- name: images/hideToolWindow.svg
20+
visible: false
21+
- name: images/edu_task_description_window_settings.png
22+
visible: false

‎Introduction/Task Description/task.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## Task Description
2+
3+
The **Task Description** window gives you all the information you need to complete a task:
4+
5+
For theoretical tasks, the description provides learning and reading materials.
6+
For quizzes, it offers multiple choice questions.
7+
For programming assignments, it states the problem to be solved.
8+
9+
Use the Task Description icons for the following actions:
10+
11+
| Icon | Description |
12+
|------------------------------------|-------------------------------|
13+
|**Check** | <font size="-1">Check the correctness of your answer (for a quiz) or your code solution (for a programming task)</font>|
14+
| **Run** | <font size="-1">Run your code (for a theoretical tasks)</font>|
15+
|![](images/back.svg) | <font size="-1">Go to the previous task</font> |
16+
|![](images/forward.svg) &nbsp;<font size="-1">or</font> **Next** | <font size="-1">Go to the next task</font>|
17+
|![](images/reset.svg) | <font size="-1">Discard all the changes you’ve made in the task, and start over</font>|
18+
|![](images/commentTask.svg) | <font size="-1">View the task page on Stepik and leave a comment</font>|
19+
|<a>Peek Solution...</a> | <font size="-1">Reveal the correct answer and show the <b>diff</b></font>|
20+
21+
We recommend keeping the Task Description window visible and not hiding it completely. If it is too distracting, you can hide it by clicking the ![](images/hideToolWindow.svg) button in the top right-hand corner of the Task Description window.
22+
23+
If you use two monitors, it may be helpful to switch the Task Description panel to the floating mode and move it to the second monitor, or just place it near the main IDE window. To do this, click the tool window settings ![](images/gear.svg) icon :
24+
25+
<img src="images/edu_task_description_window_settings.png" width="85%"/>
26+
27+
<style>
28+
img {
29+
display: inline !important;
30+
}
31+
table, th, td {
32+
border: 1px solid black;
33+
border-collapse: collapse;
34+
}
35+
th, td {
36+
padding: 5px;
37+
}
38+
table td:nth-child(1) {
39+
text-align: center;
40+
}
41+
</style>

‎Introduction/lesson-info.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
content:
2+
- Navigating Around
3+
- Course View
4+
- Editor
5+
- Task Description
26
- Our first program
37
- Comments

‎README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Introduction to Python course (Educational Products version) [![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
2+
<p>This is an introductory Python course by JetBrains Educational Products.
3+
The target audience are the people with little or no experience in programming who
4+
would like to start learning Python.</p>
5+
6+
<p>In this course, you will learn about the basics, such as variables and operations
7+
with them, strings and other data structures, boolean operators, conditions, control
8+
flow, and so on. You will try implementing loops, functions, and classes, as well as
9+
using parts of your code as imported modules, and working with text files.</p>
10+
11+
<p>Have fun and good luck!</p>
12+
13+
<p>P.S. Want to contribute? Feel free to send a pull request to this course’s
14+
<a href=”https://github.com/jetbrains-academy/introduction_to_python”>git repo</a>.</p>

0 commit comments

Comments
 (0)
Please sign in to comment.