This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Provide Windows Terminal Fragment Extension
Type: enhancement Stage:
Components: Windows Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: mveril, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2021-05-25 12:27 by mveril, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg394336 - (view) Author: Mickaël Véril (mveril) Date: 2021-05-25 12:27
Windows terminal has now a new feature called Fragment Extension. This can be used by third party applications to let Terminal know they exist. So, if the python team add a Fragment Extensions for python it allows python to appear directly as a profile in Windows terminal with the official icon and possibly other customization. More info here https://docs.microsoft.com/en-us/windows/terminal/json-fragment-extensions.
Currently if we want to add python to the list of profile, we need to do this manually but Python should be added to Windows terminal itself.
A good example is the new git-bash integration recently added to git for Windows https://github.com/git-for-windows/git/issues/3183
msg394382 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-05-25 17:34
Thanks! This is a great idea.

I'd prioritise adding support to the Store app first, as that's easier to manage (we're not having to modify files owned by other apps outside of our install directory). But no reason we couldn't extend the older installer and make that do it as well.

We probably want to experiment a bit with what goes into it. I think this should probably be a single profile that uses the default Python (whatever "python.exe" maps to), but it could also be a Powershell/Cmd shell that has PATH set (though *that* is redundant with the Store package, so perhaps better for the regular installer).

I *really* don't want to fill up Terminal with one (or more) profiles for each Python version. I'm trying to motivate other work to make it easier for users to have multiple installs but one consistent default, so I'd rather not multiplex here.
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88399
2021-05-25 17:34:03steve.dowersetmessages: + msg394382
2021-05-25 12:27:00mverilcreate