Terminal: [discussion] Initialize Terminal Preview settings from Terminal settings

Created on 9 Jul 2020  路  4Comments  路  Source: microsoft/terminal

If Terminal Preview is installed for the first time, can it initialize settings from Terminal settings?

Usecase is trying out Preview with same settings as regular version. Currently it's reset to default settings.

In any case, this is not a big issue

Area-Settings Help Wanted Issue-Task Product-Terminal

All 4 comments

I don't think this is a terrible idea, just needs someone to go write the migration code.

One non-intrusive way could be implementing a context-menu item: "Replace current WT Preview settings by settings from WT" and not changing default behaviors (or implement complex settings merging). It could even be just "wtp.exe import-settings" command or sth like this.

Or the even simpler solution - when the Terminal settings are empty, do a quick check if we're the Preview version. If we are, and there's also a settings.json file under the non-preview path, then just copy that instead of using the userDefaults.json

Reset may still be useful for a (actually my) situation: I generally use non-preview. But occasionally install fresh Preview to check if a particular bug was fixed. Then settings import function (at least being able to fire it manually) is useful even when a previous version of Preview was installed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DHowett-MSFT picture DHowett-MSFT  路  285Comments

Ronkiro picture Ronkiro  路  65Comments

HLFH picture HLFH  路  68Comments

migueldeicaza picture migueldeicaza  路  58Comments

conioh picture conioh  路  65Comments