generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring Scenario #89
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ugin/src/main/resources/org/jetbrains/research/tasktracker/config/final_page_default.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
text: " We’ve turned off all tracking. | ||
text: "Thank you for taking part in our research. We’ve turned off all tracking. | ||
If you wish, you can remove the plugin at any time from the plugins section in the IDE settings." |
4 changes: 2 additions & 2 deletions
4
ij-plugin/src/main/resources/org/jetbrains/research/tasktracker/config/info_default.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pluginName: TaskTracker | ||
pluginDescription: "TaskTracker is a plugin designed to track code changes during programming problem-solving. It monitors the modifications made to the code throughout the process of problem resolution." | ||
pluginName: Refactoring course | ||
pluginDescription: "We want to track your progress through the code refactoring course in order to collect data on file changes during the course completion. Please, when you are ready, press the next button." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
191 changes: 158 additions & 33 deletions
191
...in/src/main/resources/org/jetbrains/research/tasktracker/config/task_content_default.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,162 @@ | ||
tasks: | ||
- name: hello world | ||
description: Write a program that will print 'hello world' to the console. | ||
- name: Refactoring course | ||
description: "Take the refactoring course, and after that, press the next button." | ||
language: "KOTLIN" | ||
focusFileId: "main" | ||
files: | ||
- filename: main | ||
sourceSet: "SRC" | ||
id: "main" | ||
id: "hello" | ||
- name: "Example with several files" | ||
description: "In this task, we kindly request you to review three provided files and determine which one is the most readable and which one is the least readable. Files: [a.java](a), [b.java](b), [c.java](c)" | ||
language: "JAVA" | ||
id: "example" | ||
files: | ||
- filename: a | ||
sourceSet: "SRC" | ||
templateFile: "a" | ||
id: "a" | ||
- filename: b | ||
sourceSet: "SRC" | ||
templateFile: "b" | ||
id: "b" | ||
- filename: c | ||
sourceSet: "SRC" | ||
templateFile: "c" | ||
id: "c" | ||
- name: "python style checker" | ||
description: "Modify the file to be more readable and compliant with PEP 8" | ||
language: "PYTHON" | ||
id: "style" | ||
focusFileId: "main" | ||
files: | ||
- filename: "main" | ||
- filename: "Task" | ||
relativePath: "RefactoringAndItsPurpose/Practice/RefactoringAndItsPurposePractice/src/main/kotlin/jetbrains/refactoring/course/refactoring/purpose" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Task" | ||
relativePath: "CodeStyleAndFormatting/WhatIsFormatting/ReformatTheCode/src/main/kotlin/jetbrains/refactoring/course/formatting" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Task" | ||
relativePath: "CodeStyleAndFormatting/WhatIsFormatting/ReformatTheCodeUsingIDE/src/main/kotlin/jetbrains/refactoring/course/formatting" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Task" | ||
relativePath: "CodeStyleAndFormatting/CodeSchemasAndEditorConfig/task/src/main/kotlin/jetbrains/refactoring/course/formatting" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: ".editorconfig" | ||
relativePath: "CodeStyleAndFormatting/CodeSchemasAndEditorConfig/task" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Student" | ||
relativePath: "RenamingCode/RenameRefactoringInIDE/FixTypos/src/main/kotlin/jetbrains/refactoring/course/renaming" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "University" | ||
relativePath: "RenamingCode/RenameRefactoringInIDE/FixTypos/src/main/kotlin/jetbrains/refactoring/course/renaming" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Main" | ||
relativePath: "MovingCode/WhatIsMoveMethodRefactoring/task/src/main/kotlin/jetbrains/refactoring/course/moving" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Driver" | ||
relativePath: "MovingCode/WhatIsMoveMethodRefactoring/task/src/main/kotlin/jetbrains/refactoring/course/moving/driver" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Car" | ||
relativePath: "MovingCode/WhatIsMoveMethodRefactoring/task/src/main/kotlin/jetbrains/refactoring/course/moving/car" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Animal" | ||
relativePath: "MovingCode/WhatArePullUpAndPushDownRefactorings/task/src/main/kotlin/jetbrains/refactoring/course/moving" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Cat" | ||
relativePath: "MovingCode/WhatArePullUpAndPushDownRefactorings/task/src/main/kotlin/jetbrains/refactoring/course/moving" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Dog" | ||
relativePath: "MovingCode/WhatArePullUpAndPushDownRefactorings/task/src/main/kotlin/jetbrains/refactoring/course/moving" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Task" | ||
relativePath: "ExtractingCode/WhatIsExtractMethodRefactoring/ExtractDuplicatedCode/src/main/kotlin/jetbrains/refactoring/course/extracting" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Task" | ||
relativePath: "ExtractingCode/WhatIsExtractVariableRefactoring/ExtractMagicConstants/src/main/kotlin/jetbrains/refactoring/course/extracting" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Task" | ||
relativePath: "InliningCode/WhatIsInlineVariableRefactoring/InlineVariables/src/main/kotlin/jetbrains/refactoring/course/inlining" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Task" | ||
relativePath: "InliningCode/InlineMethodRefactoring/InlineMethodAndVariables/src/main/kotlin/jetbrains/refactoring/course/inlining" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "MiddleMan" | ||
relativePath: "InliningCode/MiddleManCodeSmell/task/src/main/kotlin/jetbrains/refactoring/course/inlining" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Main" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "VideoConversionFacade" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "VideoEncoder" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "VideoLoader" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "VideoProcessor" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "VideoSaver" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "EncodedVideo" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/video" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "ProcessedVideo" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/video" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Video" | ||
relativePath: "RefactoringToDesignPatterns/FacadePatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/video" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Main" | ||
relativePath: "RefactoringToDesignPatterns/StrategyPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Order" | ||
relativePath: "RefactoringToDesignPatterns/StrategyPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "PaymentProcessor" | ||
relativePath: "RefactoringToDesignPatterns/StrategyPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/processor" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "BitcoinPayment" | ||
relativePath: "RefactoringToDesignPatterns/StrategyPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/strategy" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "CreditCardPayment" | ||
relativePath: "RefactoringToDesignPatterns/StrategyPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/strategy" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "PaymentStrategy" | ||
relativePath: "RefactoringToDesignPatterns/StrategyPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/strategy" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "PayPalPayment" | ||
relativePath: "RefactoringToDesignPatterns/StrategyPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns/strategy" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Bicycle" | ||
relativePath: "RefactoringToDesignPatterns/FactoryMethodPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Car" | ||
relativePath: "RefactoringToDesignPatterns/FactoryMethodPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Main" | ||
relativePath: "RefactoringToDesignPatterns/FactoryMethodPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "Transport" | ||
relativePath: "RefactoringToDesignPatterns/FactoryMethodPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
isInternal: false | ||
- filename: "TransportationServiceFactory" | ||
relativePath: "RefactoringToDesignPatterns/FactoryMethodPatternPractice/task/src/main/kotlin/jetbrains/refactoring/course/patterns" | ||
sourceSet: "SRC" | ||
templateFile: "comparison" | ||
id: "main" | ||
isInternal: false | ||
id: "main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be very helpful to have utils to generate this file by a course automatically
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or put the whole folder and add all files from this folder, what do you think?