From db47c3ec3eb59062f821653984fd5657a900ede9 Mon Sep 17 00:00:00 2001
From: Youhei Yamada <51235130+sun-flat-yamada@users.noreply.github.com>
Date: Wed, 5 May 2021 19:42:06 +0900
Subject: [PATCH] Rename file name to adequately describe the content (Recent
Edits) (#29)
---
...ently_changed_files.cs => 3.3-Recent_edits.cs} | 15 ++++++++++++---
...ently_changed_files.cs => 3.3-Recent_edits.cs} | 9 ++++-----
2 files changed, 16 insertions(+), 8 deletions(-)
rename 01-Navigation/3-Navigate_to_somewhere_youve_already_been/{3.3-Recently_changed_files.cs => 3.3-Recent_edits.cs} (57%)
rename localized/ja/01-Navigation/3-Navigate_to_somewhere_youve_already_been/{3.3-Recently_changed_files.cs => 3.3-Recent_edits.cs} (90%)
diff --git a/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recently_changed_files.cs b/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recent_edits.cs
similarity index 57%
rename from 01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recently_changed_files.cs
rename to 01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recent_edits.cs
index d96334a..a65ee42 100644
--- a/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recently_changed_files.cs
+++ b/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recent_edits.cs
@@ -6,8 +6,9 @@ namespace JetBrains.ReSharper.Koans.Navigation
//
// Shows a popup menu of recent edits. Shows code blocks, not files
//
- // Ctrl+Shift+, (VS)
- //
+ // Ctrl+Shift+, (ReSharper VisualStudio Keymap)
+ // Ctrl+Shift+E (Rider Default IntelliJ Keymap)
+ //
public class RecentEdits
{
@@ -23,6 +24,8 @@ public RecentEdits(string firstName, string lastName)
private string GetName()
{
// 1. Implement GetName by returning firstName
+ // Uncomment the following and comment Exception line
+ // return firstName;
throw new NotImplementedException();
}
@@ -32,8 +35,14 @@ public void Dump()
// Console.WriteLine("Name: {0}", GetName());
// 3. Return to GetName using Recent Edits and change to be firstName + lastName
+ // Ctrl+Shift+, (ReSharper VisualStudio Keymap)
+ // Ctrl+Shift+E (Rider Default IntelliJ Keymap)
+
// 4. Return back here and uncomment the following
+ // NOTE: There is no great significance to this implementation.
+ // It is content to let you experience the feel
+ // of the navigation controls.
// Console.WriteLine("Done");
}
}
-}
\ No newline at end of file
+}
diff --git a/localized/ja/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recently_changed_files.cs b/localized/ja/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recent_edits.cs
similarity index 90%
rename from localized/ja/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recently_changed_files.cs
rename to localized/ja/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recent_edits.cs
index 37a4b06..5d53210 100644
--- a/localized/ja/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recently_changed_files.cs
+++ b/localized/ja/01-Navigation/3-Navigate_to_somewhere_youve_already_been/3.3-Recent_edits.cs
@@ -4,15 +4,14 @@ namespace JetBrains.ReSharper.Koans.Navigation
{
// 最近編集した場所にに移動する方法を試してみます。
//
- //TODO: ReSharperで最近の編集表示機能 (View Recent Edits) が動作しない (ReSharper 2021.1 on VisualStudio2019)
- //TODO: rename file name 3.3-Recently_changed_files.cs -> 3.3-Recent_edits.cs
+ //TODO: ReSharperで最近の編集表示機能 (View Recent Edits) ショートカットキーに割り当たらず動作しない (ReSharper 2021.1 on VisualStudio2019)
//
// 最近の編集箇所と内容をポップアップメニューで表示出来ます。
// ファイルではなくコードブロックが表示出来ます。
//
// Ctrl+Shift+, (ReSharper VisualStudio Keymap)
// Ctrl+Shift+E (Rider Default IntelliJ Keymap)
- //
+ //
public class RecentEdits
{
@@ -29,7 +28,7 @@ private string GetName()
{
// 1. firstName を返す GetName を実装してください。
// コメントを外して Exception の行はコメントアウトしてください。
- // return firstName;
+ // return firstName;
throw new NotImplementedException();
}
@@ -47,4 +46,4 @@ public void Dump()
// Console.WriteLine("Done");
}
}
-}
\ No newline at end of file
+}