ProfileList support ? #5593

Closed
opened 2026-01-31 00:16:54 +00:00 by claunia · 4 comments
Owner

Originally created by @timiil on GitHub (Dec 17, 2019).

do we have any plan to support ProfileList ? that can make the profiles group in the root menu,
or we just have this feature already ? i saw https://raw.githubusercontent.com/microsoft/terminal/master/doc/cascadia/profiles.schema.json had:

...
"ProfileList": {
      "description": "A list of profiles and the properties specific to each.",
      "items": {
        "$ref": "#/definitions/Profile",
        "required": [
          "guid",
          "name"
        ]
      },
      "type": "array"
    },
...

but , any sample for this ?

Originally created by @timiil on GitHub (Dec 17, 2019). do we have any plan to support ProfileList ? that can make the profiles group in the root menu, or we just have this feature already ? i saw https://raw.githubusercontent.com/microsoft/terminal/master/doc/cascadia/profiles.schema.json had: ``` ... "ProfileList": { "description": "A list of profiles and the properties specific to each.", "items": { "$ref": "#/definitions/Profile", "required": [ "guid", "name" ] }, "type": "array" }, ... ``` but , any sample for this ?
claunia added the Resolution-DuplicateIssue-Docs labels 2026-01-31 00:16:54 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Dec 17, 2019):

I don't think I totally understand what you're asking for here - this is already how your settings works. You can have a list of Profile's under the profiles key in your profiles.json file:

{
    "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
    "profiles":
    [
        {
            "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "name": "Windows PowerShell",
            "commandline": "powershell.exe",
            "fontFace": "Cascadia Code",
            "fontSize": 14
        },
        {
            "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "name": "cmd",
            "commandline": "cmd.exe",
            "fontFace": "Cascadia Code",
            "fontSize": 14
        },
        {
            "commandline" : "cmd.exe /k %CMDER_ROOT%\\vendor\\init.bat",
            "name" : "cmder",
            "startingDirectory" : "%USERPROFILE%",
            "fontFace": "Cascadia Code",
            "fontSize": 14
        }
    ]
}

You can see this doc for more details.

@timiil Could you maybe clarify what you're looking for?

@zadjii-msft commented on GitHub (Dec 17, 2019): I don't think I totally understand what you're asking for here - this is already how your settings works. You can have a _list_ of Profile's under the `profiles` key in your `profiles.json` file: ```json { "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "profiles": [ { "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "name": "Windows PowerShell", "commandline": "powershell.exe", "fontFace": "Cascadia Code", "fontSize": 14 }, { "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "name": "cmd", "commandline": "cmd.exe", "fontFace": "Cascadia Code", "fontSize": 14 }, { "commandline" : "cmd.exe /k %CMDER_ROOT%\\vendor\\init.bat", "name" : "cmder", "startingDirectory" : "%USERPROFILE%", "fontFace": "Cascadia Code", "fontSize": 14 } ] } ``` You can see [this doc](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingJsonSettings.md#default-settings) for more details. @timiil Could you maybe clarify what you're looking for?
Author
Owner

@timiil commented on GitHub (Dec 17, 2019):

hi , i need a 'folder' ,

"profiles":
    [
        {
            
            "name": "a Good group",
            
             sub_profiles: [
                     {
            
            "name": "sub A",
            "commandline": "powershell.exe",
            "fontFace": "Cascadia Code",
            "fontSize": 14
        },
        {            
            "name": "sub B",
            "commandline": "cmd.exe",
            "fontFace": "Cascadia Code",
            "fontSize": 14
        },
             ]
        },
        {            
            "name": "another Group",
            
        },
        {
            "commandline" : "cmd.exe /k %CMDER_ROOT%\\vendor\\init.bat",
            "name" : "cmder",
            "startingDirectory" : "%USERPROFILE%",
            "fontFace": "Cascadia Code",
            "fontSize": 14
        }
    ]

@timiil commented on GitHub (Dec 17, 2019): hi , i need a 'folder' , ``` "profiles": [ { "name": "a Good group", sub_profiles: [ { "name": "sub A", "commandline": "powershell.exe", "fontFace": "Cascadia Code", "fontSize": 14 }, { "name": "sub B", "commandline": "cmd.exe", "fontFace": "Cascadia Code", "fontSize": 14 }, ] }, { "name": "another Group", }, { "commandline" : "cmd.exe /k %CMDER_ROOT%\\vendor\\init.bat", "name" : "cmder", "startingDirectory" : "%USERPROFILE%", "fontFace": "Cascadia Code", "fontSize": 14 } ] ```
Author
Owner

@zadjii-msft commented on GitHub (Dec 17, 2019):

@timiil Ah okay. What you're looking for is already being tracked in #1571. Thanks!

/dup #1571

@zadjii-msft commented on GitHub (Dec 17, 2019): @timiil Ah okay. What you're looking for is already being tracked in #1571. Thanks! /dup #1571
Author
Owner

@ghost commented on GitHub (Dec 17, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Dec 17, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5593