-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
settings.json parent folder functionality #15417
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -577,6 +577,10 @@ | |||||
<data name="Nav_OpenJSON.Content" xml:space="preserve"> | ||||||
<value>Open JSON file</value> | ||||||
<comment>Header for a menu item. This opens the JSON file that is used to log the app's settings.</comment> | ||||||
</data> | ||||||
<data name="Nav_OpenJSONFolder.Content" xml:space="preserve"> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Found the bug! This'll fix the crash! |
||||||
<value>Open JSON Folder</value> | ||||||
<comment>Header for a menu item. This opens the JSON Folder where the JSON file that is used to log the app's settings sits.</comment> | ||||||
</data> | ||||||
<data name="Nav_ProfileDefaults.Content" xml:space="preserve"> | ||||||
<value>Defaults</value> | ||||||
|
@@ -1304,6 +1308,10 @@ | |||||
<data name="Nav_OpenJSON.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve"> | ||||||
<value>Open your settings.json file. Alt+Click to open your defaults.json file.</value> | ||||||
<comment>{Locked="settings.json"}, {Locked="defaults.json"}</comment> | ||||||
</data> | ||||||
<data name="Nav_OpenJSONFolder.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve"> | ||||||
<value>Open your settings.json folder.</value> | ||||||
<comment>Label for button to JSON Folder.</comment> | ||||||
</data> | ||||||
<data name="Rename.[using:Windows.UI.Xaml.Controls]ToolTipService.ToolTip" xml:space="preserve"> | ||||||
<value>Rename</value> | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,8 @@ namespace Microsoft.Terminal.Settings.Model | |
SettingsFile = 0, | ||
DefaultsFile, | ||
AllFiles, | ||
SettingsUI | ||
SettingsUI, | ||
SettingsFolder | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (Related to this PR, but not necessary to make this change in this PR) IMO, at this point, we should fully commit and also add this as a parameter to the
Since you already updated If you're not interested though, let me know. Happy to do it as a follow up myself :) |
||
}; | ||
|
||
enum MoveTabDirection | ||
|
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.
Also, make sure you use spaces here, not tabs.
If you want, you can also edit this file in Visual Studio. It gives you a table to work with, and always formats it correctly.