Repository navigation
Closed
Labels
Area-SettingsIssues related to settings and customizability, for console or terminalIssue-QuestionFor questions or discussionNeeds-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.
Description
BREAKING SETTINGS CHANGES IN 0.11
- BREAKING CHANGE We've deleted a lot of legacy settings handling (Remove a heap of legacy settings deserialization #5190)
- Please see our blog post and our most recent status update for more information.
- If you had settings hanging out in the
globalsdictionary, you'll want to move them out.- REMEDIATION: move everything from
globalsto the root of your settings file and delete the emptyglobalsobject. - Failure to do so will cause us to ignore your default profile, launch mode, etc., etc.
- THIS INCLUDES
defaultProfile
- REMEDIATION: move everything from
requestedThemehas been renamed totheme(Rename 'requestedTheme' to 'theme' #5265)
profiles.jsonhas been renamed tosettings.json. This should be transparent to you as we'll rename it on first launch (rename profiles.json to settings.json, clean up the defaults #5199)- As a side effect, we'll finally stop resurrecting old pre-version-0.3 roaming profiles.
- If you don't specify a
splitPanesplitmode, it'll default toautomatic(Use an Automatic split for splitPane by default #5194) copy's original and poorly-understoodtrimWhitespaceargument is now calledsingleLineto indicate that it will, in fact, copy text as a single line (Rename copy keybinding arg #5216)- The default font for any profiles that don't specify a font is now Cascadia Mono (Set Cascadia Code as default font #5121)
Do your settings look like this?
{
"globals": {
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"initialCols": 200,
"initialRows": 65,
"initialPosition": "0,0",
"wordDelimiters" : " ()\"'-:,;<>~!@#$%^&*|+=[]{}~?\u2502",
"confirmCloseAllTabs": true,
"keybindings": [
...
]
},
"profiles": {
...
}
}Then change them to look like this:
{
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"initialCols": 200,
"initialRows": 65,
"initialPosition": "0,0",
"wordDelimiters" : " ()\"'-:,;<>~!@#$%^&*|+=[]{}~?\u2502",
"confirmCloseAllTabs": true,
"keybindings": [
...
],
"profiles": {
...
}
}Or even better, make a backup of your settings file, and delete the contents entirely. We'll re-generate the file with some better formatting and more sane defaults, and you can copy the modifications you want back in.
Reacted by Tor, Bert Laverman, John Rummell, regexhater, Eddcakes, Al-Chwarizmi, tcheng, キャラ, sumitkumarm, pimski and 409 more
Reacted by VeronicaHex, Ignacio Buioli, Michael Hanson, Tyler M, Darrell, Peter, ka4a, Ian Stapleton, jackalsin, Dakui.Li and 5 more
Reacted by Charles Dong, Jasper Harrison, Drewry Pope and Steven Meyer
Reacted by DSMJR and Vishnu05
Reacted by Longhanks, Mason Egger, tcheng, gasizdat, Xiangpeng Hao, Piotr Staniów, kgfly, ColdWind, Anton, Jesus Santander and 28 more
Reacted by Konstantin Heil, moutaigua8183, Jaak Kütt, Justin Kyryliuk, JJ, Ethan Soucy, Fabien Le Frapper, Nick Terry, eFiggy, stax76 and 17 more
Reacted by Anatoliy Siryi
Reacted by fiantsev, Mark Morabito, Steven Meyer, Dmitry B, Nick, Angel Fraga Parodi, Zeltzin Tuxtla, Re-Forever, Diego Arturo Hernandez Fuentes, Max Khanov and 1 more
Metadata
Metadata
Assignees
Labels
Area-SettingsIssues related to settings and customizability, for console or terminalIssue-QuestionFor questions or discussionNeeds-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.
Activity
[-]MEGATHREAD: My settings are gone! My default profile stopped bring default! I hate this![/-][+]MEGATHREAD: My settings are gone! My default profile broke! I hate this![/+][-]MEGATHREAD: My settings are gone! My default profile broke! I hate this![/-][+]MEGATHREAD: DEFAULT PROFILE STOPPED WORKING! My settings are gone! I hate you![/+][-]MEGATHREAD: DEFAULT PROFILE STOPPED WORKING! My settings are gone! I hate you![/-][+]MEGATHREAD: DEFAULT PROFILE STOPPED WORKING! Settings are gone! I hate you![/+]mlewand commentedon Apr 23, 2020
Out of curiosity, any reason why
settings.json'sglobalvalues weren't moved automatically to the root level after the upgrade? You migrate the config on multiple occasions which is good, but not this time.I myself had this problem and got into #5489 even though I scanned changelog before the upgrade, but haven't picked up that I have actually to change something in my config 🙂
bmarkovic commentedon Apr 23, 2020
You might want to reword that from "move them out" as that really doesn't say nearly enough to anyone. Be specific:
DHowett-MSFT commentedon Apr 23, 2020
Bojan Markovic (@bmarkovic) that’s a great suggestion, thank you. I appreciate that you edited your comment.
bmarkovic commentedon Apr 23, 2020
In my particular case this didn't restore functionality of keybindings, did something change about the format (or the JSON key name)?
61 remaining items
DHowett-MSFT commentedon May 12, 2020
(There are three independent copy flags.
copyOnSelectdetermines whether text is copied when you release the left mouse button,copyFormattingdetermines whether text is copied with color information andsingleLinedetermines whether all newlines are deleted, even if they were intentional.)pecigonzalo commentedon May 12, 2020
Dustin L. Howett (MSFT) (@DHowett-MSFT) I understand that to be the case regarding the different options, but it seems then there is a bug that affect that and its "fixed" by setting
copyFormattingtotrue.Repro for me is really simple for me and I can even dynamically toggle that and have it broken/fixed.
As you can see on that output, the line when pasted is split into multi line and ran as 2 commands.
Type a really long line that breaks to multi-line in your console (or make a smaller console)
Select text
Paste as
ctrl+shif+vorctrl-vorright clickor whatever is your pasteIt runs 2 commands
Toggle
copyFormattingtotrueDo the same
Does not break
Please note im not copying with
ctrl+corctrl+shift+cbut with copy on select.For reference, this is my relevant config:
pecigonzalo commentedon May 12, 2020
Ok, oddly enough while I just did this while creating this comment and it caused the output I pasted (broken line) and it happened multiple times since the update. I just ran it once again after, just to check other cases and it worked correctly, which has me really confused now.
EverlyScott commentedon May 17, 2020
Any reason why we haven't gotten a GUI for changing settings yet?
DHowett commentedon May 17, 2020
@ScribbleNerd because that will take months of work that we couldn't complete until we nailed the basics of actually being a terminal? That work is being tracked in #1564.
exitdown commentedon May 17, 2020
yeah not meaning to sound condescending but its a cli tool for cli competent people, so it makes far more sense to work on the core functionality and cli user features rather than trying to make it easy point and click to make pretty - at least until all the main things are done, upvote for html link handler haha
edit profiles.json
ashishpawar517 commentedon May 22, 2020
I only changed the default profile to cmd.exe in last version. then today after update it showing me global deprecated error over and over again.
warpdesign commentedon Jun 1, 2020
How about automatically converting the file if older format is detected: seeing the format changes it appears to be possible.
Seeing how full of comments is this issue I think this could solve problems for a lot of people.
gareth-a-jones commentedon Jun 10, 2020
Got to say, I found this extremely jarring for a product that that is at GA status.
Auto-migrating such things seems a pretty bare minimum for a breaking change release.
DHowett commentedon Jun 10, 2020
Only people who were using the Preview build will encounter breaking changes. The preview build was offered with no warranties (express or implied.)
I’m sorry it was jarring. Settings migration is planned for any updates to the stable channel that require settings model changes.