Skip to content

Commit

Permalink
fix: return the custom_name field
Browse files Browse the repository at this point in the history
  • Loading branch information
GirZ0n committed Nov 6, 2023
1 parent c6784e9 commit 63472fa
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: choice
custom_name: What is the primary benefit of following consistent code formatting?
is_multiple_choice: false
options:
- text: It guarantees bug-free code.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: edu
custom_name: Extract duplicated code
files:
- name: src/main/kotlin/jetbrains/refactoring/course/extracting/Task.kt
visible: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: theory
custom_name: What is Extract Method refactoring?
files:
- name: src/main/kotlin/jetbrains/refactoring/course/extracting/Main.kt
visible: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: edu
custom_name: Extract magic numbers
files:
- name: src/main/kotlin/jetbrains/refactoring/course/extracting/Task.kt
visible: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: theory
custom_name: What is Extract Variable refactoring?
files:
- name: src/main/kotlin/jetbrains/refactoring/course/extracting/Main.kt
visible: true
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: edu
custom_name: Identify code issues and fix them
files:
- name: test/IdentifyIssuesInCodeSnippetTest.kt
visible: false
Expand Down
2 changes: 2 additions & 0 deletions RenamingCode/RenameRefactoringInIDE/FixTypos/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
type: edu
custom_name: "Fix typos, change the code to comply with naming rules and camelCase\
\ convention"
files:
- name: src/main/kotlin/jetbrains/refactoring/course/renaming/Student.kt
visible: true
Expand Down
1 change: 1 addition & 0 deletions RenamingCode/RenameRefactoringInIDE/Quiz/task-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ message_incorrect: "Incorrect solution. Explanation: The option \"Calculate_valu
files:
- name: src/main/kotlin/jetbrains/refactoring/course/renaming/Main.kt
visible: true
custom_name: Which of the following code element names demonstrates good naming practice?
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type: theory
custom_name: Rename refactoring in IDE
files:
- name: src/main/kotlin/jetbrains/refactoring/course/renaming/Main.kt
visible: true

0 comments on commit 63472fa

Please sign in to comment.